场景
问题:JSONObject获取所有的key
解决方案
技巧:
JSONObject获取key:↓
JSONObject obj;
for (Map.Entry<String, Object> entry : cutReceiveAlarmMessageObject.entrySet()) {
String s = entry.getKey();
}
标签:Map,JSONObject,entrySet,util,获取,key,entry From: https://blog.51cto.com/u_15896157/5896002