Function js_sys::JSON::parse

source ·
pub fn parse(text: &str) -> Result<JsValue, JsValue>
Expand description

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

MDN documentation