Crate located_yaml

Crate located_yaml 

Source
Expand description

YAML parser with element position saving and basic validation checks. Based on the yaml-rust crate.

Usage example:

use located_yaml::YamlLoader;

let res = YamlLoader::load_from_str(r#"
some_array:
 - a
 - b
 - some_hash:
    k1: v1
    k2: v2
 - true
"#).unwrap();

println!("{:?}", res.docs);

Modules§

error

Structs§

Marker
Marker of location in source document.
Yaml
YAML document representation.
YamlLoader
YAML loader.

Enums§

Untagged
YAML representation without location marks
YamlElt
YAML AST element.