UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

37 lines (19 loc) 555 B
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md) *** [Kvaser CanKing GUI Extensions SDK](../../modules.md) / [models](../README.md) / jsonReplacer # Function: jsonReplacer() > **jsonReplacer**(`this`, `key`, `value`): `unknown` Custom JSON replacer function. Supports serialization of complex data types like Map and Set. ## Parameters ### this `Record`\<`string`, `unknown`\> ### key `string` The key being processed. ### value `unknown` The value associated with the key. ## Returns `unknown` The value to be serialized.