Uses of Interface
com.fasterxml.jackson.databind.ser.PropertyFilter
Packages that use PropertyFilter
Package
Description
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of PropertyFilter in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser that return PropertyFilterModifier and TypeMethodDescriptionFilterProvider.findPropertyFilter(Object filterId, Object valueToFilter) Lookup method used to findPropertyFilterthat has specified id.Methods in com.fasterxml.jackson.databind.ser with parameters of type PropertyFilterModifier and TypeMethodDescriptionvoidAnyGetterWriter.getAndFilter(Object bean, com.fasterxml.jackson.core.JsonGenerator gen, SerializerProvider provider, PropertyFilter filter) -
Uses of PropertyFilter in com.fasterxml.jackson.databind.ser.impl
Classes in com.fasterxml.jackson.databind.ser.impl that implement PropertyFilterModifier and TypeClassDescriptionclassSimplePropertyFilterimplementation that only uses property name to determine whether to serialize property as is, or to filter it out.static classFilter implementation which defaults to filtering out unknown properties and only serializes ones explicitly listed.static classFilter implementation which defaults to serializing all properties, except for ones explicitly listed to be filtered out.Fields in com.fasterxml.jackson.databind.ser.impl declared as PropertyFilterModifier and TypeFieldDescriptionprotected PropertyFilterSimpleFilterProvider._defaultFilterThis is the filter we return in case no mapping was found for given id; default isnull(in which case caller typically reports an error), but can be set to an explicit filter.Fields in com.fasterxml.jackson.databind.ser.impl with type parameters of type PropertyFilterModifier and TypeFieldDescriptionprotected final Map<String, PropertyFilter> SimpleFilterProvider._filtersByIdMappings from ids to filters.Methods in com.fasterxml.jackson.databind.ser.impl that return PropertyFilterModifier and TypeMethodDescriptionSimpleFilterProvider.findPropertyFilter(Object filterId, Object valueToFilter) static PropertyFilterSimpleBeanPropertyFilter.from(BeanPropertyFilter src) Helper method to ease transition fromBeanPropertyWriterintoPropertyWriterSimpleFilterProvider.getDefaultFilter()SimpleFilterProvider.removeFilter(String id) Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type PropertyFilterModifier and TypeMethodDescriptionSimpleFilterProvider.addFilter(String id, PropertyFilter filter) Adds an instance ofPropertyFilterassociated with the givenidparameter.SimpleFilterProvider.setDefaultFilter(PropertyFilter f) Method for defining "default filter" to use, if any (nullif none), to return in case no registered instance matches passed filter id. -
Uses of PropertyFilter in com.fasterxml.jackson.databind.ser.std
Methods in com.fasterxml.jackson.databind.ser.std that return PropertyFilterModifier and TypeMethodDescriptionprotected PropertyFilterStdSerializer.findPropertyFilter(SerializerProvider provider, Object filterId, Object valueToFilter) Helper method used to locate filter that is needed, based on filter id this serializer was constructed with.Methods in com.fasterxml.jackson.databind.ser.std with parameters of type PropertyFilterModifier and TypeMethodDescriptionvoidMapSerializer.serializeFilteredAnyProperties(SerializerProvider provider, com.fasterxml.jackson.core.JsonGenerator gen, Object bean, Map<?, ?> value, PropertyFilter filter, Object suppressableValue) Helper method used when we have a JSON Filter to use AND contents are "any properties" of a POJO.voidMapSerializer.serializeFilteredFields(Map<?, ?> value, com.fasterxml.jackson.core.JsonGenerator gen, SerializerProvider provider, PropertyFilter filter, Object suppressableValue) Helper method used when we have a JSON Filter to use for potentially filtering out Map entries.