Function js_sys::JSON::parse[][src]

pub fn parse(text: &str) -> Result<JsValue, JsValue>

The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string.

MDN documentation