lundi 25 janvier 2016

How Parsing/Write Complex Nested Json using jsoncpp in C++

I need help on how to start this. I am pretty new to C++ and parsing Json files- comments could be helpful.

here is the json

{
                "Animalfarm": {
                    "bunnyComm": {
                        "bunny":[
                        {
                            "friends": 1,
                                "carrotID" : "wKgBPw==",
                                "residence" : 24691
                        },
                        {
                            "friends": 2,
                            "carrotID" : "wKgCQA==",
                            "residence" : 24691
                        }
                        ]
                    },
                    "happy": true,
                    "Facility" : "Lab",
                    "Comment" : "Default",

Aucun commentaire:

Enregistrer un commentaire