pub fn validate(schema: &Value, value: &Value) -> ValidationResultExpand description
Validate a JSON value against a JSON Schema.
Invalid schemas
and structural-limit violations are converted to a ValidationResult for compatibility with callers that expect validation failures rather than hard errors.