Skip to main content

deserialize

Function deserialize 

Source
pub fn deserialize(json_obj: &Node, schema: &Value) -> Result<Node, CodecError>
Expand description

Parse normalized JSON into a typed node. $-envelope keys and fields modeled on the node’s $type stay top-level; every other key is collected into $extra so a strongly-typed consumer round-trips it losslessly.