Skip to main content

parse_with

Function parse_with 

Source
pub fn parse_with(
    text: &str,
    limits: ParseLimits,
) -> Result<Value, JsonParseError>
Expand description

Parses text with explicit limits.

ยงErrors

Returns JsonParseError when the text is not valid JSON or exceeds the limits.