if (clazz.isAssignableFrom(value.getClass())) {
return (T) value;
</BUG>
} else {
<BUG>return Jsoner.toObject(Jsoner.toJSON(value), clazz);

}
}</BUG>
public <T> T get(String attr, Object defaultValue) {
Object result = get(attr);

if (clazz.isAssignableFrom(value.getClass())) {
result = (T) value;
} else {
result = Jsoner.toObject(Jsoner.toJSON(value), clazz);
}
}
return result;
}
public <T> T get(String attr, Object defaultValue) {
Object result = get(attr);
