Skip to main content

parse_json

Function parse_json 

Source
pub fn parse_json(text: &str) -> Result<Value, String>
Expand description

Parse text as JSON, refusing text over JSON_MAX_BYTES. serde_json stops at 128 levels of nesting, so a deep document is an error, not a stack overflow.