Skip to main content

read_yaml_with

Function read_yaml_with 

Source
pub fn read_yaml_with(
    text: &str,
    options: &YamlReadOptions,
) -> Result<Doc, OmnistError>
Expand description

Parse YAML text into a Doc with explicit YamlReadOptions; see read_yaml for everything else.

Returns the YamlReadOptions::validate error unchanged when the options are out of range.