use of com.fasterxml.jackson.databind.deser.SettableBeanProperty in project jackson-databind by FasterXML.
the class UnwrappedPropertyHandler method processUnwrapped.
@SuppressWarnings("resource")
public Object processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) throws IOException {
for (int i = 0, len = _properties.size(); i < len; ++i) {
SettableBeanProperty prop = _properties.get(i);
JsonParser p = buffered.asParser();
p.nextToken();
prop.deserializeAndSet(p, ctxt, bean);
}
return bean;
}
Aggregations