return (Profile)super.getEntity(data);
}
@Override
protected ArrayList<Profile> createEntities() {
JsonDataHandler dataHandler = new JsonDataHandler(getData());
ArrayList<Profile> profiles = new ArrayList<Profile>();
List<JsonJavaObject> entries = dataHandler.getEntries(ProfileJsonPath.Entry);
for (JsonJavaObject entry: entries) {
Profile profile = getEntity(entry);
profiles.add(profile);
}
return profiles;