Skip to main content

decode

Function decode 

Source
pub fn decode(
    runtime: &Runtime,
    shape: &TypeShape,
    json: &str,
) -> Result<Value, SoilError>
Expand description

Decode canonical (or canonically-equivalent) JSON into a value of the given shape — the runtime half of parse (design §3.7).