Serializer
@frost/frost-web / Exports / Serializer
Type alias: Serializer<T, P>
Ƭ Serializer<T
, P
>: (value
: P
, object
: T
) => any
Type parameters
Name | Description |
---|---|
T | the type of the Parent Object containing the property to be serialized |
P | type of the property to be serialized |
Type declaration
▸ (value
, object
): any
A Type of A Function that serializes the data to JSON
Parameters
Name | Type |
---|---|
value | P |
object | T |
Returns
any