pub fn stringify(value: JsValue) -> Result<String, JsError>
Expand description
Converts a JavaScript value to a RON string.
ยงErrors
Returns an error if any of the following are true:
- Cannot convert
value
to a RON value. - Cannot convert a RON value to a RON string.