pub fn from_str<T: DeserializeOwned>( text: &str, strict_booleans: bool, ) -> Result<T, String>
Parses YAML text into T through to_value. An error reads path (line L, column C): message, or just the message for a syntax error (which carries its own location).
T
to_value
path (line L, column C): message
The syntax or deserialization error as text.