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

Function stringify

Source
pub fn stringify(obj: &JsValue) -> Result<JsString, JsValue> 
Available on crate feature dep_web_sys only.
Expand description

The JSON.stringify() method converts a JavaScript value to a JSON string.

MDN documentation