Skip to main content

parse_json_bytes_strict

Function parse_json_bytes_strict 

Source
pub fn parse_json_bytes_strict(bytes: &[u8]) -> Result<Value, HashError>
Expand description

Parse JSON bytes without first converting through a JavaScript number.

This rejects malformed UTF-8, duplicate object keys, non-finite/out-of-range numbers, and integer tokens outside JavaScript’s inclusive safe range.