pub fn to_value(text: &str, strict_booleans: bool) -> Result<Value, Error>Expand description
Parses YAML text into a Value. With strict_booleans, only true and
false are booleans (YAML 1.2: yes, no, on, off stay strings).
Unquoted scalars become numbers, booleans or null as YAML resolves them, so
a string field given 123 must quote it ("123").
ยงErrors
Syntax errors, with their location.