Has anyone worked with JSON in C++ in Visual Studio 2010 Has anyone worked with JSON in C++ in Visual Studio 2010 json json

Has anyone worked with JSON in C++ in Visual Studio 2010


If you will install boost::spirit you can use this lib JSON Spirit. Works in with VS like a charm.

UPDATE Include json spirit directory and use

#include <json_spirit/json_spirit.h>#include <json_spirit/json_spirit_reader_template.h>#include <json_spirit/json_spirit_writer_template.h>


JsonCpp is a C++ JSON parser that builds in VS according to their README.


Apache Thrift supports JSON. This is a nice alternative, because in addition to JSON, you also get transport mechanisms (TCP sockets, etc) and optionally in a multi-threaded environment.

Here you can find info about JSON for windows.

Thrift is multi-platform, so it should work quite well with VS.