Module serde

Source
Expand description

to_value utility that serializes data to a JsValue using serde_wasm_bindgen with BigInt serialization enabled.

Modules§

preserve
Serialization and deserialization functions that pass JavaScript objects through unchanged.

Structs§

Deserializer
A newtype that allows using any JsValue as a de::Deserializer.
Error
A newtype that represents Serde errors as JavaScript exceptions.
Serializer
A serde::Serializer that converts supported Rust values into a JsValue.

Functions§

from_value
Converts JsValue into a Rust type.
to_value
Converts a Rust value into a JsValue.