JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<Post> posts = new ResponseListImpl<Post>(size, json);
for (int i = 0; i < size; i++) {
JSONObject postJSONObject = list.getJSONObject(i);
Post post = new PostJSONImpl(postJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(post, postJSONObject);
}
posts.add(post);
}