0
"{
   "count":100000,
   "data":[
            {
              "Project":null,
              "children":[  
                          {
                            "Project":null,
                            "title":"TEST",
                           }
                          ],
              "icon":false,
           }
        ]
 }"

I would like to read "title" : "TEST" from the JSON data. ANy help? I am using Qt and c++ for this.

Bala
  • 31
  • 1
  • 1
  • 5

1 Answers1

0

If you want a good JSON library that works directly with Qt, then QJson

http://qjson.sourceforge.net/usage/

Otherwise I suggest some normal JSON library.

http://jsoncpp.sourceforge.net/

speeder
  • 6,197
  • 5
  • 34
  • 51
  • 1
    And Qt 5 has JSON built in: http://qt-project.org/doc/qt-5.0/qtcore/json.html –  Feb 26 '13 at 19:54