yaml-cpp

C++ YAML parser and emitter library for YAML 1.2 specification

brewmacoslinux
Try with needOr install directly
Source

About

C++ YAML parser and emitter for YAML 1.2 spec

Commands

yaml-cpp

Examples

Parse and read a YAML configuration file in a C++ program$ g++ -o myapp myapp.cpp -lyaml-cpp && ./myapp
Link yaml-cpp library when compiling C++ projects with CMake$ find_package(yaml-cpp REQUIRED) in CMakeLists.txt
Include yaml-cpp headers in C++ source code to parse YAML$ #include <yaml-cpp/yaml.h> in your C++ files