Skip to main content

Crate serde_v8vs

Crate serde_v8vs 

Source
Expand description

serde support for V8’s ValueSerializer format used by Node.js/Deno’s Serialization API.

Modules§

as_date
Serialize a “date-ish” type as a JS Date. The default behavior might serialize them as objects.

Structs§

DeserializeOptions
SerializeOptions

Enums§

Error
GrowStrategy

Functions§

as_object
Serialize a map-like type as a JS object. The default behavior would serialize them as a Map.
as_set
Serialize a “set-ish” type as a JS Set. The default behavior would serialize them as an array.
from_reader
Deserialize a value from a Reader.
from_slice
Deserialize a value from a slice.
to_boxed_slice
Serializes a value to a byte array (Box<[u8]>).
to_writer
Serializes a value to a Writer.