Skip to main content

parse

Function parse 

Source
pub fn parse(input: &str) -> Result<JsonValue, ParseError>
Expand description

Parse JSON text into a JsonValue, fail-closed: trailing non-whitespace, malformed escapes, missing parts, lone surrogates, and unexpected EOF all return Err. Never silently repairs.