I am trying to extract the key and value of an object in an array, but cannot find the correct getter:
for (Value::ConstValueIterator itr = document["params"].Begin(); itr != document["params"].End(); ++itr)
{
for (Value::MemberIterator m = itr->MemberBegin(); m != itr->.MemberEnd(); ++m) {
}
}
in the second loop, I want to extract the key and value from the iterator separately. how to make a booty?
Pooya source
share