Skip to main content

strict_json_decode

Function strict_json_decode 

Source
pub fn strict_json_decode(bytes: &[u8]) -> JsonCodecResult<JsonValue>
Expand description

Decode strict canonical JSON bytes, rejecting malformed UTF-8, duplicate keys, non-canonical byte shape, and values that fail the shared strict validator.