static ResponseList<Subscriber> createSubscriberList(HttpResponse res, Configuration conf) throws FacebookException {
try {
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.clearThreadLocalMap();
}
JSONObject json = res.asJSONObject();
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);