Skip to main content

validate_and_parse

Function validate_and_parse 

Source
pub fn validate_and_parse<T>(json_str: &str) -> Result<ValidationResult<T>>
Expand description

Validate and parse JSON with schema validation and error recovery

ยงErrors

Returns an error when the JSON cannot be parsed even after recovery attempts.