Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Vec<(String, Node)>, YamlError>
Expand description

Reads a document. The result is always a map (empty if the text only has comments).