Functions
parseJsonWithBigInts
parseJsonWithBigInts(
json
):unknown
This function is a replacement for JSON.parse
that can handle large
unsafe integers by parsing them as BigInts. It transforms every
numerical value into a BigInt without loss of precision.
Parameters
Parameter | Type |
---|---|
json | string |
Returns
unknown