json
json copied to clipboard
wasm_bindgen::JsValue to a serde_json::Value
is there a way where I can convert wasm_bindgen::JsValue to a serde_json::Value and back?
wasm_bindgen JsValue has serde support. You could also use serde-wasm-bindgen
(which may be preferred in some cases).