JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<Interest> interests = new ResponseListImpl<Interest>(size, json);
for (int i = 0; i < size; i++) {
JSONObject interestJSONObject = list.getJSONObject(i);
Interest interest = new InterestJSONImpl(interestJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(interest, interestJSONObject);
}
interests.add(interest);
}