Expand description
serde support for V8’s ValueSerializer format used by Node.js/Deno’s Serialization API.
- Serialize:
to_boxed_slice,to_writer - Deserialize:
from_slice,from_reader - Compatibility:
as_date,as_object,as_set
Modules§
- as_date
- Serialize a “date-ish” type as a JS
Date. The default behavior might serialize them as objects.
Structs§
Enums§
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.