All features
The codec: turning YAML into Go values and back.
Marshal and Unmarshal, the options that steer them, struct tags, anchors, comments and errors.
- Working with JSON and YAML
Read, query and change a YAML document without turning it into Go values.
Key order, comments, positions, non-string keys and numbers Go cannot hold — all of it survives, because nothing is projected onto a Go type.
- Transforming YAML documents