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