In transitioning from Node12 to Node16 we found that v8's string left limit
went down to 512MB. We have a few places in our existing code base where we
JSON.stringify() objects that serialize to hundreds of megabytes, and we're
looking at alternatives.
Have folks in this forum worked through si
Thanks for the suggestions!
I tried duplicating json-stringifier.cc but ran quickly into the fact that
it uses v8::internal stuff which isn't exposed in the v8 public API, and
therefore not exposed in Node's plugin APIs either. So, I implemented on
top of v8::Object::GetPropertyNames() instead.