}
protected void extraPropertiesFromJson(JSONObject json, BaseResourceRepresentation representation) {
super.extraPropertiesFromJson(json, representation);
AbstractExtensibleRepresentation r = (AbstractExtensibleRepresentation) representation;
Enumeration en = json.keys();
while (en.hasMoreElements()) {
String propertyName = (String) en.nextElement();
if (!wasParsed(propertyName)) {
try {
Class propertyType = ExtensibilityConverter.classFromExtensibilityString(propertyName);
r.setProperty(propertyName, getObject(json, propertyName, propertyType));
} catch (ClassNotFoundException e) {
r.setProperty(propertyName, getString(json, propertyName));
}
}
}
parseContext.pop();