Skip to content

pmcatominey/node-json-bigint-string

Repository files navigation

json-bigint-string

Build Status

Drop in replacement for JSON.parse which converts integers long enough to lose precision in Javascript into strings.

Based on json-bigint by sidorares.

Usage

var JSONBigInt = require('json-bigint-string');

// console.log(JSON.parse(someJson));
console.log(JSONBigInt.parse(someJson));

License

Released into the public domain with Unlicense.

Contains a modified copy of json_parse.js from JSON-js, also in the public domain.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published