Serializer
Defined in: types.ts:203
Represents a serializer interface that defines methods for serializing and deserializing data.
Methods
Section titled “Methods”deserialize()?
Section titled “deserialize()?”optional deserialize(body, options?): unknown;Defined in: types.ts:210
Deserialize the given data.
Parameters
Section titled “Parameters”Record<string, unknown>
The data to be deserialized, represented as a record of string keys and unknown values.
options?
Section titled “options?”Record<string, unknown>
(Optional) Additional options to be used during deserialization.
Returns
Section titled “Returns”unknown
The deserialized data, which may be of any type.
serialize()?
Section titled “serialize()?”optional serialize(...args): unknown;Defined in: types.ts:220
Serialize the given data.
Parameters
Section titled “Parameters”…unknown[]
The data to be serialized, represented as a record of string keys and unknown values.
Returns
Section titled “Returns”unknown
The serialized data, which may be of any type.