Fixed error in request Configuration
Fixed error in request Configuration
This commit is contained in:
parent
a65c09c6ce
commit
18030c6804
|
@ -199,9 +199,8 @@ public class UtilityResource {
|
|||
try{
|
||||
if (result!=null&&!result.isEmpty()) {
|
||||
System.out.println("--------result-------->"+result);
|
||||
JSONObject jsonObj = new JSONObject(result);
|
||||
JSONArray jsonArray=jsonObj.getJSONArray("result");
|
||||
|
||||
JSONArray jsonArray = new JSONArray(result);
|
||||
|
||||
for(int i=0;i < jsonArray.length();i++){
|
||||
//TODO
|
||||
//id=jsonArray.getJSONObject(i).getString("header");
|
||||
|
|
Loading…
Reference in New Issue