Skip to main content

parse_yaml_documents

Function parse_yaml_documents 

Source
pub fn parse_yaml_documents(input: &str) -> Vec<YamlDocument>
Expand description

Parse input and return every YAML document in the stream. Most consumers only need the first (parse_yaml_document); this exists for multi-document completeness (a: 1\n---\nb: 2).