The Serializer interfaces defines the set of methods for serializing and deserializing objects.

Hierarchy

  • Serializer

Implemented by

Properties

Methods

Properties

format: string

The serializer format.

Methods

  • Deserializes and returns a new Javascript object.

    Returns

    The deserialized object.

    Parameters

    • value: any

      The object to be deserialized.

    Returns any

  • Serializes the specified object and returns the `Buffer`` containing the serialized data.

    @param obj the object to be serialized

    @returns the `Buffer`` containing the serialized data.

    Parameters

    • obj: any

    Returns Buffer