Skip to main content

parse

Function parse 

Source
pub fn parse(bytes: &[u8]) -> Result<Json>
Expand description

Parses one JSON value (trailing whitespace allowed).

Strict RFC 8259: lone surrogates, leading zeros and malformed numbers are errors, and arrays and objects nest at most 128 deep (deeper input is an error, not a stack overflow).