libcyaml

C library for reading and writing YAML files with schema validation

brewmacoslinux
Try with needOr install directly
Source

About

C library for reading and writing YAML

Commands

libcyaml

Examples

Parse YAML file into C data structures using schema$ cyaml_read_file(fh, &schema, (void **)&data, &error_string)
Write C data structures to YAML file with validation$ cyaml_write_file(fh, &schema, (void *)&data, &error_string)
Free YAML data structures after processing$ cyaml_free(&schema, (void *)&data)