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

Hierarchy

  • Serializer

Methods

  • Deserialize the given data.

    Parameters

    • body: Record<string, unknown>

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

    • Optional options: Record<string, unknown>

      (Optional) Additional options to be used during deserialization.

    Returns unknown

    The deserialized data, which may be of any type.

  • Serialize the given data.

    Parameters

    • Rest ...args: unknown[]

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

    Returns unknown

    The serialized data, which may be of any type.

Generated using TypeDoc