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.
pub fn validate_json(
source: &str,
schema: &str,
source_path: Option<&Path>,
) -> Result<Diagnostics, ValidationError>Validate some JSON against a JSON schema, returning all problems.