Documentation
Common
Type-aliases
JSONMessageReviver

Type Alias: JSONMessageReviver()

JSONMessageReviver: (this, key, value) => any

Defined in: src/common.ts:429

Function for transforming values within a message during JSON parsing The values are produced by parsing the incoming raw JSON.

Read more about using it: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#using_the_reviver_parameter

Parameters

this

any

key

string

value

any

Returns

any