Skip to main content
Version: Annotations-V1.0.0

Deserializer

@frost/frost-web / Exports / Deserializer

Type alias: Deserializer<D, P>

Ƭ Deserializer<D, P>: (value: D, object: any) => P

Type parameters

NameTypeDescription
Dextends AdvancedJSONPrimitive<P> | undefined | nullthe type of serialized property ( checkout the Type AdvancedJSONPrimitive<P> )
PPtype of the property after Deserializing

Type declaration

▸ (value, object): P

A Type of A Function that serializes the data to JSON

Parameters
NameType
valueD
objectany
Returns

P