用getJSONObject,会始终返回一个新的JSONObject
看了源码
public JSONObject getJSONObject(String key) {
Object object = this.get(key);
String jsonString = JSON.toJSONString(object);
JSONObject jsonObject = null;
try {
jsonObject = new JSONObject(jsonString);
return jsonObject;
} catch (Exception var6) {
throw new IllegalStateException("Invalid json string", var6);
}
}
这明显不对吧...
-
创建时间
15年7月23日
-
最后回复
15年7月24日
-
5
回复
-
2.1K
浏览
-
2
用户
-
1
链接