Uses of Interface
tools.jackson.databind.ser.PropertyFilter
Packages that use PropertyFilter
Package
Description
Contains implementation classes of serialization part of
data binding.
-
Uses of PropertyFilter in tools.jackson.databind.ser
Methods in tools.jackson.databind.ser that return PropertyFilterModifier and TypeMethodDescriptionabstract PropertyFilterFilterProvider.findPropertyFilter(SerializationContext ctxt, Object filterId, Object valueToFilter) Lookup method used to findPropertyFilterthat has specified id.Methods in tools.jackson.databind.ser with parameters of type PropertyFilterModifier and TypeMethodDescriptionvoidAnyGetterWriter.getAndFilter(Object bean, JsonGenerator gen, SerializationContext provider, PropertyFilter filter) -
Uses of PropertyFilter in tools.jackson.databind.ser.jdk
Methods in tools.jackson.databind.ser.jdk with parameters of type PropertyFilterModifier and TypeMethodDescriptionvoidMapSerializer.serializeFilteredAnyProperties(SerializationContext provider, 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.serializeFilteredEntries(Map<?, ?> value, JsonGenerator gen, SerializationContext provider, PropertyFilter filter, Object suppressableValue) Helper method used when we have a JSON Filter to use for potentially filtering out Map entries. -
Uses of PropertyFilter in tools.jackson.databind.ser.std
Classes in tools.jackson.databind.ser.std 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 tools.jackson.databind.ser.std declared as PropertyFilterModifier and TypeFieldDescriptionprotected PropertyFilterSimpleFilterProvider._defaultFilterThis is the filter we return in case no mapping was found for given id; default is 'null' (in which case caller typically reports an error), but can be set to an explicit filter.Fields in tools.jackson.databind.ser.std with type parameters of type PropertyFilterModifier and TypeFieldDescriptionprotected final Map<String,PropertyFilter> SimpleFilterProvider._filtersByIdMappings from ids to filters.Methods in tools.jackson.databind.ser.std that return PropertyFilterModifier and TypeMethodDescriptionSimpleFilterProvider.findPropertyFilter(SerializationContext ctxt, Object filterId, Object valueToFilter) protected PropertyFilterStdSerializer.findPropertyFilter(SerializationContext provider, Object filterId, Object valueToFilter) Helper method used to locate filter that is needed, based on filter id this serializer was constructed with.SimpleFilterProvider.getDefaultFilter()SimpleFilterProvider.removeFilter(String id) SimpleBeanPropertyFilter.snapshot()Methods in tools.jackson.databind.ser.std with parameters of type PropertyFilterModifier and TypeMethodDescriptionSimpleFilterProvider.addFilter(String id, PropertyFilter filter) Adds an instance ofPropertyFilterassociated with the givenidparameter.SimpleFilterProvider.setDefaultFilter(PropertyFilter f) Constructor parameters in tools.jackson.databind.ser.std with type arguments of type PropertyFilter