Uses of Class
tools.jackson.databind.ser.bean.BeanSerializerBase
Packages that use BeanSerializerBase
Package
Description
Contains implementation classes of serialization part of
data binding.
-
Uses of BeanSerializerBase in tools.jackson.databind.ser
Subclasses of BeanSerializerBase in tools.jackson.databind.serModifier and TypeClassDescriptionclassSerializer class that can serialize Java objects that map to JSON Object output.classMethods in tools.jackson.databind.ser that return BeanSerializerBaseModifier and TypeMethodDescriptionprotected BeanSerializerBaseBeanSerializer.asArraySerializer()Implementation has to check whether as-array serialization is possible reliably; if (and only if) so, will construct aBeanAsArraySerializer, otherwise will return this serializer as is.protected BeanSerializerBaseUnrolledBeanSerializer.asArraySerializer()protected BeanSerializerBaseBeanSerializer.withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) protected BeanSerializerBaseUnrolledBeanSerializer.withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) BeanSerializer.withFilterId(Object filterId) UnrolledBeanSerializer.withFilterId(Object filterId) BeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) UnrolledBeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) protected BeanSerializerBaseBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected BeanSerializerBaseUnrolledBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Constructors in tools.jackson.databind.ser with parameters of type BeanSerializerBaseModifierConstructorDescriptionprotectedAlternate copy constructor that can be used to construct standardBeanSerializerpassing an instance of "compatible enough" source serializer.protectedBeanSerializer(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) protectedBeanSerializer(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protectedBeanSerializer(BeanSerializerBase src, ObjectIdWriter objectIdWriter) protectedBeanSerializer(BeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId) -
Uses of BeanSerializerBase in tools.jackson.databind.ser.bean
Subclasses of BeanSerializerBase in tools.jackson.databind.ser.beanModifier and TypeClassDescriptionclassSpecialized POJO serializer that differs fromBeanSerializerin that instead of producing a JSON Object it will output a JSON Array, omitting field names, and serializing values in specified serialization order.classSpecialization ofBeanAsArraySerializer, optimized for handling small number of properties where calls to property handlers can be "unrolled" by eliminated looping.classFields in tools.jackson.databind.ser.bean declared as BeanSerializerBaseModifier and TypeFieldDescriptionprotected final BeanSerializerBaseBeanAsArraySerializer._defaultSerializerSerializer that would produce JSON Object version; used in cases where array output cannot be used.protected final BeanSerializerBaseUnrolledBeanAsArraySerializer._defaultSerializerSerializer that would produce JSON Object version; used in cases where array output cannot be used.Methods in tools.jackson.databind.ser.bean that return BeanSerializerBaseModifier and TypeMethodDescriptionprotected BeanSerializerBaseBeanAsArraySerializer.asArraySerializer()protected abstract BeanSerializerBaseBeanSerializerBase.asArraySerializer()Mutant factory for creating a variant that output POJO as a JSON Array.protected BeanSerializerBaseUnrolledBeanAsArraySerializer.asArraySerializer()protected BeanSerializerBaseUnwrappingBeanSerializer.asArraySerializer()JSON Array output cannot be done if unwrapping operation is requested; so implementation will simply return 'this'.static BeanSerializerBaseBeanAsArraySerializer.construct(BeanSerializerBase src) protected abstract BeanSerializerBaseBeanSerializerBase.withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) Mutant factory used for creating a new instance with additional set of properties to ignore or include (from properties this instance otherwise has)protected BeanSerializerBaseUnwrappingBeanSerializer.withByNameInclusion(Set<String> toIgnore, Set<String> toInclude) BeanAsArraySerializer.withFilterId(Object filterId) abstract BeanSerializerBaseBeanSerializerBase.withFilterId(Object filterId) Mutant factory used for creating a new instance with different filter id (used withJsonFilterannotation)UnrolledBeanAsArraySerializer.withFilterId(Object filterId) UnwrappingBeanSerializer.withFilterId(Object filterId) BeanAsArraySerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) abstract BeanSerializerBaseBeanSerializerBase.withObjectIdWriter(ObjectIdWriter objectIdWriter) Mutant factory used for creating a new instance with differentObjectIdWriter.UnrolledBeanAsArraySerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) UnwrappingBeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) protected BeanSerializerBaseBeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected abstract BeanSerializerBaseBeanSerializerBase.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Mutant factory used for creating a new instance with modified set of propertiesprotected BeanSerializerBaseUnrolledBeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protected BeanSerializerBaseUnwrappingBeanSerializer.withProperties(BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) Methods in tools.jackson.databind.ser.bean with parameters of type BeanSerializerBaseModifier and TypeMethodDescriptionstatic BeanSerializerBaseBeanAsArraySerializer.construct(BeanSerializerBase src) UnrolledBeanAsArraySerializer.tryConstruct(BeanSerializerBase src) Factory method that will construct optimized instance if all the constraints are obeyed; or, if not, return `null` to indicate that instance cannot be created.Constructors in tools.jackson.databind.ser.bean with parameters of type BeanSerializerBaseModifierConstructorDescriptionprotectedBeanAsArraySerializer(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) protectedBeanAsArraySerializer(BeanSerializerBase src, ObjectIdWriter oiw, Object filterId) protectedCopy-constructor that is useful for sub-classes that just want to copy all super-class properties without modifications.protectedBeanSerializerBase(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) protectedBeanSerializerBase(BeanSerializerBase src, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties) protectedBeanSerializerBase(BeanSerializerBase src, ObjectIdWriter objectIdWriter) protectedBeanSerializerBase(BeanSerializerBase src, ObjectIdWriter objectIdWriter, Object filterId) protectedBeanSerializerBase(BeanSerializerBase src, NameTransformer unwrapper) Copy-constructor that will also rename properties with given prefix (if it's non-empty)protectedUnrolledBeanAsArraySerializer(BeanSerializerBase src, Set<String> toIgnore, Set<String> toInclude) UnwrappingBeanSerializer(BeanSerializerBase src, NameTransformer transformer) Constructor used for creating unwrapping instance of a standardBeanSerializer