JSONObject.fromObject(JSONObject.fromObject(alarm).get("detail")).get("imgInfo") 用JSONObject.fromObject嵌套再解析一次就好。