Skip to main content

Serialize <DataTransferObject, DeserializedType, LAYER>

Methods to serialize/deserialize from one representation to another.

Index

Methods

Methods

from

  • from(dto: DataTransferObject, layer: LAYER): DeserializedType[]
  • Parameters

    • dto: DataTransferObject
    • layer: LAYER

    Returns DeserializedType[]

to

  • to(o: DeserializedType[], layer: LAYER): DataTransferObject
  • Parameters

    • o: DeserializedType[]
    • layer: LAYER

    Returns DataTransferObject