pub fn parse(text: &str) -> Result<JsValue, JsValue>
Available on
webgl
or webgpu
only.Expand description
The JSON.parse()
method parses a JSON string, constructing the
JavaScript value or object described by the string.