JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<Place> places = new ResponseListImpl<Place>(size, json);
for (int i = 0; i < size; i++) {
JSONObject placeJSONObject = list.getJSONObject(i);
Place place = new PlaceJSONImpl(placeJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(place, placeJSONObject);
}
places.add(place);
}