Skip to main content

decode_ext

Function decode_ext 

Source
pub fn decode_ext<X: Extension>(
    json: &[u8],
    assoc: Option<bool>,
    depth: i64,
    flags: Flags,
) -> Result<Value<X>, Error>
Expand description

decode into a Value of any extension X (a decoded value never holds one), so a library with its own object type decodes without a copy.