A lightweight JSON RPC client & server
Home > async-call-rpc > JSONEncoderOptions > reviver
A function that transforms the results. This function is called for each member of the object. If a member contains nested objects, the nested objects are transformed before the parent object is.
Signature:
reviver?: ((this: any, key: string, value: any) => any) | undefined;