rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
Serialization overview

Shows how user-provided functions fit into ryml's structure.

Shows how user-provided functions fit into ryml's structure.

Implementation overview

Note
If you are implementing serialization functions for your type, you should first skim over the info here, and then remember to return to this if you're in trouble.

This describes how ryml implements the serialization pipeline. This is useful to understand how the user-provided read() and write() functions fit and interact with ryml's implementation.

Note also that in a pinch, you can override any non-member function mentioned below; however, there shouldn't be any reason to do so unless explicitly noted. If you do feel the need to override other functions, please submit also an issue at https://github.com/biojppm/rapidyaml/issues to discuss whether this is an API oversight or maybe a misunderstanding, and hopefully this documentation can be improved.



Serialization (write)

ryml implements serialization in the following way:



Deserialization (read)

ryml implements deserialization in the following way: