Skip to content

Serializer

Defined in: types.ts:203

Represents a serializer interface that defines methods for serializing and deserializing data.

optional deserialize(body, options?): unknown;

Defined in: types.ts:210

Deserialize the given data.

Record<string, unknown>

The data to be deserialized, represented as a record of string keys and unknown values.

Record<string, unknown>

(Optional) Additional options to be used during deserialization.

unknown

The deserialized data, which may be of any type.


optional serialize(...args): unknown;

Defined in: types.ts:220

Serialize the given data.

unknown[]

The data to be serialized, represented as a record of string keys and unknown values.

unknown

The serialized data, which may be of any type.