yum
Compatibility entry point for parsing YAML.
Prefer importing yum/yaml in new code. This module keeps yum.parse
available as a small forwarding wrapper.
Values
pub fn parse(input: String) -> Result(yaml.Yaml, error.YamlError)
Parses a YAML file into a YAML document.
Follows the YAML 1.2 specification
pub fn parse_stream(
input: String,
) -> Result(List(yaml.Yaml), error.YamlError)
Parses a YAML stream into a list of YAML documents.