Skip to main content
Version: 0.17

Interface: Serializer<From, To, SerializationOptions, DeserializationOptions>

Type parameters​

NameType
Fromunknown
Tounknown
SerializationOptionsunknown
DeserializationOptionsunknown

Implemented by​

Methods​

deserialize​

â–¸ deserialize(arg, options?): From

Parameters​

NameType
argTo
options?DeserializationOptions

Returns​

From

Defined in​

serializer.ts:8


serialize​

â–¸ serialize(arg, options?): To

Parameters​

NameType
argFrom
options?SerializationOptions

Returns​

To

Defined in​

serializer.ts:7