JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<Subscriber> subscribers = new ResponseListImpl<Subscriber>(size, json);
for (int i = 0; i < size; i++) {
JSONObject subscriberJSONObject = list.getJSONObject(i);
Subscriber subscriber = new SubscriberJSONImpl(subscriberJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(subscriber, subscriberJSONObject);
}
subscribers.add(subscriber);
}