validate_json

Function validate_json 

Source
pub fn validate_json(
    source: &str,
    schema: &str,
    source_path: Option<&Path>,
) -> Result<Diagnostics, ValidationError>
Expand description

Validate some JSON against a JSON schema, returning all problems.