String bbknbr=bs.getBankID(accnbr);
String json="{\"reqmodels\":[{"+
"\"accnbr\":\""+accnbr+"\","+
"\"bbknbr\":\""+bbknbr+"\"}]}";
reJSON=bs.getAccInfo(json,"");
JSONObject reJSONO=JSONObject.fromObject(reJSON); //转化成jsonObject
JSONObject bodyValue=(JSONObject)reJSONO.get("body"); 得到body,其类型为JsonObject
JSONArray infosValues=bodyValue.getJSONArray("infos");
JSONObject info1=infosValues.getJSONObject(0);
monney=info1.getString("avlblv");
String json="{\"reqmodels\":[{"+
"\"accnbr\":\""+accnbr+"\","+
"\"bbknbr\":\""+bbknbr+"\"}]}";
reJSON=bs.getAccInfo(json,"");
JSONObject reJSONO=JSONObject.fromObject(reJSON); //转化成jsonObject
JSONObject bodyValue=(JSONObject)reJSONO.get("body"); 得到body,其类型为JsonObject
JSONArray infosValues=bodyValue.getJSONArray("infos");
JSONObject info1=infosValues.getJSONObject(0);
monney=info1.getString("avlblv");