[][src]Function minimal_yaml::parse

pub fn parse<'a>(input: &'a str) -> Result<Yaml<'a>, YamlParseError>

Parse Yaml input. Returns the top level Yaml element on success

Errors

Returns Err if the input is invalid Yaml, with a message indicating where the error occurred and possibly more information on the cause