Expand description
YAML objects manipulation utilities.
Structs§
- Yaml
Decoder YamlDecoder
is aYamlLoader
builder that allows you to supply your own encoding error trap. For example, to read a YAML file while ignoring Unicode decoding errors you can set theencoding_trap
toencoding::DecoderTrap::Ignore
.- Yaml
Iter - An iterator over a
Yaml
node. - Yaml
Loader - Main structure for quickly parsing YAML.
Enums§
- Load
Error - An error that happened when loading a YAML document.
- YAML
Decoding Trap - The behavior
YamlDecoder
must have when an decoding error occurs. - Yaml
- A YAML node is stored as this
Yaml
enumeration, which provides an easy way to access your YAML document.
Type Aliases§
- Array
- The type contained in the
Yaml::Array
variant. This corresponds to YAML sequences. - Hash
- The type contained in the
Yaml::Hash
variant. This corresponds to YAML mappings. - YAML
Decoding Trap Fn - The signature of the function to call when using
YAMLDecodingTrap::Call
.