JSONObject json = res.asJSONObject();
JSONArray list = json.getJSONArray("data");
final int size = list.length();
ResponseList<PageSetting> settings = new ResponseListImpl<PageSetting>(size, json);
for (int i = 0; i < size; i++) {
PageSetting setting = new PageSettingJSONImpl(list.getJSONObject(i));
settings.add(setting);
}
if (conf.isJSONStoreEnabled()) {
DataObjectFactoryUtil.registerJSONObject(settings, json);
}