tags:

views:

132

answers:

1

I need C++ json parser & writer. Speed and reliability is very critical, I don't care if interface is nice or not, its Boost based or not, even C parser is also fine (if its considerably faster than C++ ones).

If somebody has experience with speed of available JSON parsers, please advice.

A: 

http://lloyd.github.com/yajl/

http://www.digip.org/jansson/

Don't really know how they compare for speed, but the first one looks like the right idea for scaling to really big JSON data, since it parses only a small chunk at a time so they don't need to hold all the data in memory at once (This can be faster or slower depending on the library/use case)

Spudd86