rapidyaml  0.11.1
parse and emit YAML, and do it fast
Serialization/deserialization

Contains information on how to serialize and deserialize fundamental types, user scalar types, user container types and interop with std scalar/container types.

Contains information on how to serialize and deserialize fundamental types, user scalar types, user container types and interop with std scalar/container types.

Fundamental types

ryml provides serialization/deserialization utilities for all fundamental data types in Charconv utilities .

To serialize/deserialize any non-fundamental type will require that you instruct ryml on how to achieve this. That will differ based on whether the type is scalar or container.

User scalar types

See Serialize/deserialize scalar types for serializing user scalar types (ie leaf nodes in the YAML tree, containing a string representation):

User container types

STL types

ryml does not use any STL containers internally, but it can be used to serialize and deserialize these containers. See sample_std_types() for an example. See the header ryml_std.hpp and also the headers it includes: