Ok, I was able to make it out.
Honestly, this is not the most elegant solution, but in desperate times, one quick way to parse a huge JSON file is to check the file manually, notice the template and rip out what you need.
In my case, here is what I did in the pseudo code
fileStr = File.read("hugeJSONfile.json") arr = fileStr.split("[some pattern]") arr.each do |str| extract desired value from str end
Again, not the most elegant solution, but it does not require maintenance and, depending on the circumstances, just adapts to what your crappy laptop can assemble.
source share