Controls the serialization of entities sent to and received from the server.

Hierarchy

  • Serializer

Implemented by

Properties

supportedMediaTypes: string[]

A list of MIME types this serializer supports.

Methods

  • Deserializes an entity.

    Type Parameters

    • T

      The type of entity to deserialize.

    Parameters

    • text: string

      The string to deserialize into an entity.

    Returns T

  • Serializes an entity.

    Type Parameters

    • T

      The type of entity to serialize.

    Parameters

    • entity: T

      The entity to serialize.

    Returns string

Generated using TypeDoc