Skip to main content

validate

Function validate 

Source
pub fn validate(schema: &Value, value: &Value) -> Result<(), Vec<Problem>>
Expand description

Checks value against schema: Ok when it fits; otherwise every problem, in document order. The module docs list what is checked.