Function validate

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

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