Is there anyone here who's experienced at using libjson who could give me a quick example by any chance? say i've got the following codeI know it's extremely simplistic, it's just to give an example of what i'm trying to achieve. What I want to do is have an array of strings as a child node to 'list' but can't work out how to do this... Any help would be much appreciated...Code:JSONNode root, child; child.push_back(JSONNode("list", "array of strings goes here")); child.push_back(JSONNode("access", 126353359)); child.set_name("root"); root.push_back(child);




Reply With Quote