sycamore::web::js_sys::JSON

Function stringify

source
pub fn stringify(obj: &JsValue) -> Result<JsString, JsValue>
Expand description

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

MDN documentation