big-jason
v1.0.1
Published
JSON.parse but uses BigInt for big numbers
Downloads
3
Readme
Big Jason
JSON.parse but uses BigInt for big numbers. It was designed for being used in nodeJS environment to replace other soltions that are manually parsing JSON string character by character. It is using standard JSON.parse under the hood and is relatively lean in terms of memory consumption, but it has limited browser support, see here.
For better browser support, use json-bigint instead.
Getting Started
npm install big-jason
Usage
import { BigJason } from 'big-jason'
const parsed = BigJason.parse(exampleJSONString)
const stringified = BigJason.stringify(exampleObject)