Open GoogleCodeExporter opened 8 years ago
Uppsssss, sorry if this is not the forum to solve these kinds of problems.
Original comment by masssk...@gmail.com
on 5 May 2015 at 9:15
You need to find the value one level by one level.
Or you can try the new JSON Pointer feature:
http://miloyip.github.io/rapidjson/md_doc_pointer.html
So that it can be simply
if (Value* v = GetValueByPointer(d, "/callCommand/command"))
printf("command = %s\n", v->GetString());
Original comment by milo...@gmail.com
on 5 May 2015 at 9:44
Original issue reported on code.google.com by
masssk...@gmail.com
on 5 May 2015 at 9:14