Function wgpu::web_sys::js_sys::JSON::stringify

source ·
pub fn stringify(obj: &JsValue) -> Result<JsString, JsValue>
Available on webgl or webgpu only.
Expand description

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

MDN documentation