Subversion Repositories SmartDukaan

Rev

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

Rev 27469 Rev 27470
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() - 1; i++) {
1130
		for (int i = 0; i < ja.length(); 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
		}
1136
 
1136
 
1137
		LOGGER.info("response" + response.body().string());
-
 
1138
	}
1137
	}
1139
 
1138
 
1140
	// }
1139
	// }
1141
 
1140
 
1142
	// }
1141
	// }