String str = null;
try {
str = new String(content, charset);
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
JSONObject object = (JSONObject) JSONObject.parse(str);
System.out.println(object.getJSONObject(“testsetTestcaseExecute”).get(“auditor”));
System.out.println(object.getJSONObject(“testsetTestcaseExecute”).get(“testcaseType”));
如何取json对象中的数据
最新推荐文章于 2024-08-28 11:37:10 发布