List of usage examples for com.fasterxml.jackson.databind.deser SettableBeanProperty hasViews
public boolean hasViews()
From source file:com.github.shyiko.jackson.module.advice.AdvisedBeanDeserializerBuilder.java
@Override public JsonDeserializer<?> build() { Collection<SettableBeanProperty> props = _properties.values(); BeanPropertyMap propertyMap = new BeanPropertyMap(props); propertyMap.assignIndexes();// ww w . jav a 2s . c o m boolean anyViews = !_defaultViewInclusion; if (!anyViews) { for (SettableBeanProperty prop : props) { if (prop.hasViews()) { anyViews = true; break; } } } if (_objectIdReader != null) { ObjectIdValueProperty prop = new ObjectIdValueProperty(_objectIdReader, PropertyMetadata.STD_REQUIRED); propertyMap = propertyMap.withProperty(prop); } return new AdvisedBeanDeserializer(this, _beanDesc, propertyMap, _backRefProperties, _ignorableProps, _ignoreAllUnknown, anyViews, beanDeserializerAdvice); }