Archive for November, 2012

Simple comparison of 7 JSON libraries for C++

Wednesday, November 21st, 2012

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.

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
Even though they include a Visual Studio solution, it didn’t build.

Only reads, cannot write

Relies on STL

Not sophisticated enough