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.
pub fn from_json_value(
graph: &SchemaGraph,
ty: &SchemaType,
json: &Value,
) -> Result<SchemaValue, RenderError>Decode a serde_json::Value into a value tree typed by ty in graph.