pub fn parse(text: &str) -> Result<JsValue, JsError>
Expand description
Parses a RON string, constructing the JavaScript value or object described by the string.
ยงErrors
Returns an error if any of the following are true:
- The string to parse is not valid RON.
- Cannot construct the JavaScript value or object from a RON value.