pub fn parse_yaml_document(input: &str) -> Option<YamlDocument>Expand description
Parse input and return the first YAML document. Descends through any
stream-equivalent container ([is_stream_equivalent]) so it works against
standalone parses (rooted at YAML_STREAM) and host embeddings alike.
Returns None when the input fails the structural validator (no tree)
or has no document.