Skip to main content
Version: Annotations-V1.0.0

Serializer

@frost/frost-web / Exports / Serializer

Type alias: Serializer<T, P>

Ƭ Serializer<T, P>: (value: P, object: T) => any

Type parameters

NameDescription
Tthe type of the Parent Object containing the property to be serialized
Ptype of the property to be serialized

Type declaration

▸ (value, object): any

A Type of A Function that serializes the data to JSON

Parameters
NameType
valueP
objectT
Returns

any