pub fn validate_value(
value: &Value,
expected: &SchemaType,
) -> Result<(), String>Expand description
Validate that a JSON value matches the expected SchemaType.
pub fn validate_value(
value: &Value,
expected: &SchemaType,
) -> Result<(), String>Validate that a JSON value matches the expected SchemaType.