Skip to main content

parse_json

Function parse_json 

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

Parses JSON text from outside a run, such as an API’s response, within the toolkit’s bounded input limits.

§Errors

Refuses text that is not JSON, and JSON nested or sized past the toolkit’s limits.