It is possible.
Sample code below.
string test = { "boids": { "width": 10, "count": 5, "maxSpeedMin": 2, "maxSpeedMax": 80, "maxForceMin": 0.5, "maxForceMax": 40 } } mValue value; if(read(test, value)) { mObject obj = value.get_obj(); obj = obj.find("boids")->second.get_obj(); /*Now the obj would contain the sub object,that is {"width": 10, "count": 5, "maxSpeedMin": 2, "maxSpeedMax": 80, "maxForceMin": 0.5, "maxForceMax": 40 } */ int nWidth = obj.find("width")->second.get_int();
source share