pub fn parse_node(source: &str) -> Result<Node>Expand description
Parse one YAML document into a Node tree, preserving !!js
scalars as Node::Expr. An empty input yields Node::Null.
§Errors
Syntax errors carry the parser’s line and column; more than one document and unresolved aliases are rejected.