Crate serde_v8

source ·

Modules

Structs

Enums

  • An untagged enum type that can be any of number, string, bool, bigint, or buffer.
  • SerializablePkg exists to provide a fast path for op returns, allowing them to avoid boxing primitives (ints/floats/bool/unit/…)

Traits

  • Serializable exists to allow boxing values as “objects” to be serialized later, this is particularly useful for async op-responses. This trait is a more efficient replacement for erased-serde that makes less allocations, since it’s specific to serde_v8 (and thus doesn’t have to have generic outputs, etc…)
  • A type that may be represented as a V8Slice.

Functions

Type Aliases