Cocis, thanks for sharing what the problem was! FWIW even JSON.stringify() 
can throw "Maximum call stack size exceeded", though I've never had to deal 
with JSON that was that heavily nested. One of the pouchDB guys wrote a 
module (https://github.com/nolanlawson/vuvuzela) to parse & stringify JSON 
in a non-recursive way to work around this problem.

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/dcc000eb-4c1a-4c1c-908e-1b7538a37ad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to