//原json JSONObject json = JSONObject.parseObject("{}"); //去除value为null的key JSONObject.parseObject(json.toString);