今日总结

发布时间 2023-12-13 11:55:31作者: 北·岛

JSONObject["result"] not found.

 

 

判断节点是否为空

 

String response="xxxxxx";//Java调用接口返回的json数据
JSONObject jsonObj = JSONObject.fromObject(response);//通过解析数据,获取节点
if(jsonObj3.has("tmplDesc")){

}
原文链接:https://blog.csdn.net/oShouShou/article/details/108176432