This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform internal data into YAML formatted text and convert YAML input streams back into structured data.
The parser includes built-in protections against resource exhaustion attacks by enforcing limits on document depth and alias resolution. It also ensures deterministic output by employing consistent key sorting for maps.
The project covers serialization and deserialization workflows, including struct mapping and custom marshaling interfaces. It also handles input encoding detection and strict field validation during the decoding process.