Skip to main content

from_json_value

Function from_json_value 

Source
pub fn from_json_value(
    graph: &SchemaGraph,
    ty: &SchemaType,
    json: &Value,
) -> Result<SchemaValue, RenderError>
Expand description

Decode a serde_json::Value into a value tree typed by ty in graph.