Subversion Repositories SmartDukaan

Rev

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

Rev 27468 Rev 27469
Line 1125... Line 1125...
1125
		Response response = client.newCall(request1).execute();
1125
		Response response = client.newCall(request1).execute();
1126
 
1126
 
1127
		JSONArray ja = new JSONArray(response.body().string());
1127
		JSONArray ja = new JSONArray(response.body().string());
1128
		LOGGER.info("ja" + ja);
1128
		LOGGER.info("ja" + ja);
1129
		LOGGER.info("jalength" + ja.length());
1129
		LOGGER.info("jalength" + ja.length());
1130
		for (int i = 0; i < ja.length(); i++) {
1130
		for (int i = 0; i < ja.length() - 1; i++) {
1131
			JSONObject c = ja.getJSONObject(i);
1131
			JSONObject c = ja.getJSONObject(i);
1132
			String geofenceId = c.getString("geofence_id");
1132
			String geofenceId = c.getString("geofence_id");
1133
			LOGGER.info("geofenceId" + geofenceId);
1133
			LOGGER.info("geofenceId" + geofenceId);
1134
 
1134
 
1135
		}
1135
		}