}
if (dataObject.containsKey("list")) {
Object list = dataObject.get("list");
if (list.getClass().equals(JSONArray.class)) {
for (int i = 0; i < ((List) list).size(); i++) {
Model object = (Model) ((List) list).get(i);
response.getEntries().add(cloneModelObject(object,
modelClass));
}
} else if (list.getClass().equals(JSONObject.class)) {
response.getEntries().add(cloneModelObject((Model) list,