interface Deserializer<TInput = any, TOutput = any> {
deserialize(value: TInput, options?: Record<string, any>): TOutput | Promise<TOutput>
}
Methods
deserialize()
|
deserialize(value: TInput, options?: Record<string, any>): TOutput | Promise<TOutput>
Parameters
Option |
Type |
Description |
value
|
TInput |
|
options
|
Record |
Optional. Default is undefined .
|
Returns
TOutput | Promise<TOutput>
|