node-fs-extra icon indicating copy to clipboard operation
node-fs-extra copied to clipboard

writeJson causes "RangeError: Invalid string length"

Open maarre opened this issue 5 months ago • 6 comments

There is a dependency to jsonfile. Jsonfile calls JSON.stringify. This will cause "RangeError: Invalid string length" for large objects.

I don't know if this is a bug or a feature request. For me this is a showstopper, I will have to find some streaming library implementing streaming json serialization instead.

maarre avatar Jun 04 '25 06:06 maarre