JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<RSVPStatus> rsvpStatuses = new ResponseListImpl<RSVPStatus>(size, json);
for (int i = 0; i < size; i++) {
JSONObject rsvpStatusJSONObject = list.getJSONObject(i);
RSVPStatus rsvpStatus = new RSVPStatusJSONImpl(rsvpStatusJSONObject);
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(rsvpStatus, rsvpStatusJSONObject);
}
rsvpStatuses.add(rsvpStatus);
}