It's just that Node chokes with big JSON payloads and all async json
parsers are cumbersome to use
On Thu, May 28, 2015 at 4:21 AM, Dave Horton wrote:
> I had some luck using jansson (https://github.com/akheron/jansson) in my
> C/C++ program for parsing / formatting JSON. Not sure why an altern
I had some luck using jansson (https://github.com/akheron/jansson) in my
C/C++ program for parsing / formatting JSON. Not sure why an alternative
to JSON.parse is needed in a Javascript program though.
On Wednesday, May 27, 2015 at 1:50:30 PM UTC+2, Alisson Cavalcante Agiani
wrote:
>
> https:/
In node/V8, from what I understand, JSON.parse is already delegated to
another language, it's in (fairly) optimized C++ code. What you're seeing
in that benchmark (when comparing "C++" and "Javascript Node") is less the
expense of parsing JSON and more the expense of creating heavy-weight,
gar