jprichardson / node-jsonfile

Easily read/write JSON files.
MIT License
1.2k stars 321 forks source link

Warn about OOM #124

Closed dandv closed 4 years ago

RyanZim commented 4 years ago

Taking a quick look at json-write, it seems that it's a newline-delimited-JSON library, not a regular JSON library? Also, no updates for 4 years.

dandv commented 4 years ago

Yep, I had filed a FR to allow for output formatting.

RyanZim commented 4 years ago

Yeah, we can't recommend a NDJSON library as a substitute for a normal JSON library. Normal JSON just isn't built for large datasets, that's all.