Top "Jsoncpp" questions

jsoncpp is an open source JSON reader and writer for C++

jsoncpp. find object in array by matching value

I have this JSON object: {"books":[ { "author" : "Petr", "book_name" : "Test1", "pages" : 200, "year" : 2002 }, { "author" : "Petr", "book_name" : "Test2", "pages" : 0, "year" : 0 }, { "…

c++ jsoncpp
How to use JSON-CPP?

I've strictly followed this documentation to install and use jsoncpp library in my project : jsoncpp README But I still have …

c++ json jsoncpp
JsonCpp - when having a json::Value object, how can i know it's key name?

Let suppose I have this Json file: [ { "id": 0 } ] using jsoncpp, i can have a Json::Value object by doing this: …

c++ json jsoncpp
Problems with getting a node out of JSON with jsoncpp

Im trying to use jsoncpp to parse a set of json. The json has been generated from a webpage with …

c++ jsoncpp
Compiling and Using JSONCPP on Visual Studio10 with Boost

I have recently compiled the SVN version of JSONCPP using the VS71 makefiles. It worked, but I get a lot …

c++ visual-studio-2010 boost jsoncpp
Create JSON array of strings with jsoncpp

I need to update an index (in JSON format) when writing a new file to disk, and since the files …

c++ arrays json jsoncpp
how to write a cmake Module for jsoncpp?

I want to use jsoncpp for writing a C++ code in order to parse a JSON file. Let me explain …

c++ json g++ cmake jsoncpp
How to insert a map or vector to generate a json string (jsoncpp)

Hi I would like to do something easy with the lib jsoncpp like this: std::map<int,string> …

c++ json vector map jsoncpp
Iterate over an array of JSON objects with jsoncpp

I have an array of JSON objects, jsonArr say, of the following kind: [ { "attr1" : "somevalue", "attr2" : "someothervalue" }, { "attr1" : "yetanothervalue", "attr2" : "…

arrays json c++11 jsoncpp
How to read multiple json objects using jsoncpp

I have a sample file "sample.json" which contains 3 json objects {"A":"something1","B":"something2","C":"something3","D":"something4"}{"A":"…

c++ json jsoncpp