[solved] Getting a list of member names using ofJson

Is there a way to get a list of member names with ofJson, similar to getMemberNames() in ofxJson? I’m trying to get json objects with unknown names into map<string,float>.

ofJson curJson;
auto obj = curJson.get<ofJson::object_t>();
for(auto member : obj) cout << obj.first << ", " << obj.second << endl;