devela::_dep::web_sys::js_sys::JSON

Function parse

Source
pub fn parse(text: &str) -> Result<JsValue, JsValue> 
Available on crate feature dep_web_sys only.
Expand description

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

MDN documentation