Skip to main content

coerce_value

Function coerce_value 

Source
pub fn coerce_value(value: Option<Value>, schema: &Value) -> Option<Value>
Expand description

Coerce a CLI string (or JSON value) according to a JSON Schema fragment.