Skip to content
uencoder

YAML C++ Binding

YAML C++ bindings are parsing/emission APIs for C++ provided by libraries such as yaml-cpp, supporting C++ STL types and node-tree operations.

Purpose

To read and write YAML configuration in C++ applications, mapping YAML nodes to C++ objects.

Mechanism

yaml-cpp offers a YAML::Node tree API and YAML::convert<T> template specializations for YAML-to-C++ type conversion. It supports streaming parse and emit.

Use cases

  • C++ configuration files
  • Game engine configuration
  • YAML for C++ applications

Related tools

References