Skip to main content

bigIntJsonParseReviver()

bigIntJsonParseReviver(_key: string, value: unknown): unknown

Defined in: packages/react-querybuilder/src/utils/formatQuery/utils.ts:356

"Reviver" method for JSON.parse's second argument. Converts objects having a single $bigint: string property to an actual bigint value.

Inverse of bigIntJsonStringifyReplacer.

Parameters

ParameterType
_keystring
valueunknown

Returns

unknown

See

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#use_within_json


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.