Skip to main content

validate_value

Function validate_value 

Source
pub fn validate_value(
    value: &Value,
    expected: &SchemaType,
) -> Result<(), String>
Expand description

Validate that a JSON value matches the expected SchemaType.