Wednesday 10 May 2017

How to read big json file?

I have a json file of ~500mb, containing only one big array of numbers. And I want to read that file to use the array in a program. How do I do? I can't use fs.readFileSync because the file is too big. I have googled a bit, and I found how to read each line induvidually, but everything is in one single line.

Submitted May 10, 2017 at 05:12PM by CMDJojo

No comments:

Post a Comment