// find typeadapter
ConfigTypeAdapter customRep = config.lookupTypeAdapter(classField.getType());
if (customRep != null) {
try {
Object value = customRep.deserialize(serialized.get(fieldAnno.name()), config, classField);
// set using a setter, exception is when failIfNotPresent is false and there were no value
if (value != null || fieldAnno.failIfNotPresent())
PropertyUtils.setSimpleProperty(confObj, classField.getName(), value);
} catch (Exception e) {