I want to stringify a large object (to write it to a file) and I'm runnning into v8's string length limit. So I think I either need to find a way to stringify into an ArrayBuffer or I need to create the string in chunks.
It seems https://github.com/dominictarr/JSONStream can do the latter, but I don't understand how to use stringify()
as only the usage of .parse()
is explained in the documentation.