I needed a JSON library for C++. Despite the large number of them on the internet, only one was suitable. My requirement was that it can both read and write (many can only read) and that it does not have external dependencies, including STL.

Jzon v2-0.zip
I really liked this because it is the easiest to use and only has one cpp file. But it relies on STL

Kind of large, but includes a VS2010 project so you can verify it compiles on Windows. Does not rely on STL. That is what I ended up using.

Documented, but uses STL

Documented, but through kind of usesless auto documentation http://developer.gnome.org/json-glib/
Even though they include a Visual Studio solution, it didn’t build.

Only reads, cannot write

Relies on STL

Not sophisticated enough

Average Rating: 4.7 out of 5 based on 220 user reviews.

Leave a Reply