Skip to main content

decode_strict

Function decode_strict 

Source
pub fn decode_strict<T: DeserializeOwned>(
    wire: &[u8],
) -> Result<T, ProtocolError>
Expand description

Decodes strict JSON, rejecting duplicate object keys before typed decoding.