pub fn parse(bytes: &[u8]) -> Result<Value, Error>Expand description
Parses exactly one strict JSON value from the complete input.
ยงErrors
Returns the first defect with its byte offset. Beyond plain syntax
errors, the restricted profile rejects a leading BOM, invalid UTF-8,
duplicate object keys, lone surrogate escapes, raw control characters,
-0, fractions and exponents, integers outside MAX_SAFE_INTEGER,
nesting past the depth limit, and trailing content.