JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<QuestionVotes> questionVotesList = new ResponseListImpl<QuestionVotes>(size, json);
for (int i = 0; i < size; i++) {
JSONObject questionVotesJSONObject = list.getJSONObject(i);
QuestionVotes questionVotes = new QuestionVotesJSONImpl(questionVotesJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(questionVotes, questionVotesJSONObject);
}
questionVotesList.add(questionVotes);
}