How to use the lossless-json.stringify function in lossless-json

To help you get started, we’ve selected a few lossless-json examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github taskrabbit / elasticsearch-dump / lib / jsonparser.js View on Github external
const stringify = (json, configs) => _.get(configs, 'options.support-big-int')
  ? LosslessJSON.stringify(json, _replacer)
  : JSON.stringify(json)

lossless-json

Parse JSON without risk of losing numeric information

MIT
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis