Function serialize

  • Serializes an object (graph) into json using the provided model schema. The model schema can be omitted if the object type has a default model schema associated with it. If a list of objects is provided, they should have an uniform type.

    Returns

    serialized representation of the object

    Type Parameters

    • T

    Parameters

    Returns any

  • Type Parameters

    • T

    Parameters

    • instance: T

    Returns any

  • Type Parameters

    • T

    Parameters

    Returns any

  • Type Parameters

    • T

    Parameters

    • instance: T[]

    Returns any

Generated using TypeDoc