Skip to main content

load_schema_str

Function load_schema_str 

Source
pub fn load_schema_str(content: &str) -> Result<Value, ResolveError>
Expand description

Load a schema from a JSON string.

§Errors

Returns ResolveError::InvalidJson if the string isn’t valid JSON.