Subversion Repositories SmartDukaan

Rev

Rev 14637 | Rev 14639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14637 Rev 14638
Line 304... Line 304...
304
 
304
 
305
				try {
305
				try {
306
					String resP;
306
					String resP;
307
					while((resP=rd.readLine())!=null){
307
					while((resP=rd.readLine())!=null){
308
						if(resP!=null && !resP.isEmpty()){
308
						if(resP!=null && !resP.isEmpty()){
-
 
309
							System.out.println("Response... "+resP);
309
							jsonDataObj = new JSONArray("["+resP+"]");
310
							jsonDataObj = new JSONArray("["+resP+"]");
310
							JSONObject j1 = (JSONObject)jsonDataObj.get(0);
311
							JSONObject j1 = (JSONObject)jsonDataObj.get(0);
311
							jsonDataShip = new JSONArray(j1.get("jsonDataString").toString());
312
							jsonDataShip = new JSONArray(j1.get("jsonDataString").toString());
312
						}
313
						}
313
					}
314
					}