global-json-override
v1.0.2
Published
Overwrites the global JSON.parse with json-bigint
Downloads
60
Readme
global-json-override
Javascript uses floating numbers to store all numbers. That means that past a certain point (Number.MAX_SAFE_INTEGER), integers will be incorrect due to floating point precision.
global-json-override module provides a simple override of the following global JSON object methods, to handle the described above:
parse
Usage
require( 'global-json-override' ).override();