Module substrait_validator::input::yaml
source · [−]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 yaml_rust to this structure.
Functions
Converts a yaml_rust YAML structure into its equivalent JSON object
model using serde_json’s types.