Expand description
Module for representing YAML input.
We (ab)use serde_json::value::Value for this; the primary reason being
that a JSON schema is used for basic schema
validation of the YAML files, and the jsonschema crate we use for that
uses serde_json’s representation). yaml_to_json() may be used to
convert the output from serde_yaml to this structure.
Functions§
- yaml_
to_ json - Converts a
serde_yamlYAML structure into its equivalent JSON object model usingserde_json’s types.