big-json icon indicating copy to clipboard operation
big-json copied to clipboard

A stream based implementation of JSON.parse and JSON.stringify for big POJOs

Results 18 big-json issues
Sort by recently updated
recently updated
newest added

Not much to say, very similar pr to #20, just added the option `isRootArray` to `createParseStream` and `parse`. Would be sick if we can get this merged :)

I'm seeing a huge difference in execution time for stringifying a large, nested JSON array (length 50k, 2GB in memory, 700MB on disk) The following JSONStream implementation takes ~20secs ```...

Hello, when i use .parse on little strings, it works. But when i have really big string, so JSON.parse doesn't work, big-json.parse returns empty object. What i have to do,...

I figured out how to stringify, but can't parse since ReadableStream doesn't have PIPE, only PipeThrought() and PipeTo(). I can't use the bigjson.parse function, since the string will exceed the...

I had the use-case where I wanted to use the high-level `parse` but didn't want to turn my buffer into a string first. The underlying `into-stream` can handle not only...

Parsing the following array (string) ```js JSON.stringify([{key: 'value'}, {key: 'value'}]) ``` will return ```js { '0': { key: 'value' }, '1': { key: 'value' } } ``` but expected it...

Hi! I want to use your lib to stringify JSON. So i just added const json = require('big-json'); to my project and got this errors: ``` /myproj/node_modules/into-stream/index.js:34 (async () =>...

PFB the sample programt to reproduce this const bigJSON = require('big-json'); function tryit() { const objBlankKeyBlankVal = {'': 'data1', 'key1': ''}; console.log('STRINGIFY OUTPUT ' , JSON.stringify(objBlankKeyBlankVal)); let str = '';...