Deserializer
@frost/frost-web / Exports / Deserializer
Type alias: Deserializer<D, P>
Ƭ Deserializer<D, P>: (value: D, object: any) => P
Type parameters
| Name | Type | Description |
|---|---|---|
D | extends AdvancedJSONPrimitive<P> | undefined | null | the type of serialized property ( checkout the Type AdvancedJSONPrimitive<P> ) |
P | P | type of the property after Deserializing |
Type declaration
▸ (value, object): P
A Type of A Function that serializes the data to JSON
Parameters
| Name | Type |
|---|---|
value | D |
object | any |
Returns
P