Uses of Interface
tools.jackson.databind.BeanDescription.Supplier
Packages that use BeanDescription.Supplier
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Contains implementation classes of deserialization part of
data binding.
Package that contains standard value and key deserializer implementations
Jackson uses for core JDK types.
Package that contains standard value and key deserializer base classes
that Jackson both uses for its own implementations and offers for
module developers as convenient partial implementations.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver.Package that contains classes and interfaces to help implement
custom extension
JacksonModules
(which are registered on ObjectMapper via builders}.Contains implementation classes of serialization part of
data binding.
-
Uses of BeanDescription.Supplier in tools.jackson.databind
Classes in tools.jackson.databind that implement BeanDescription.SupplierModifier and TypeClassDescriptionstatic classSimpleBeanDescription.Supplierimplementation that just returns pre-constructedBeanDescriptioninstance.static classPartial implementation for lazily-constructed suppliers forBeanDescriptioninstances.protected static classMethods in tools.jackson.databind that return BeanDescription.SupplierModifier and TypeMethodDescriptionDatabindContext.lazyIntrospectBeanDescription(JavaType type) DeserializationContext.lazyIntrospectBeanDescriptionForBuilder(JavaType builderType, BeanDescription valueTypeDesc) DeserializationContext.lazyIntrospectBeanDescriptionForCreation(JavaType type) abstract BeanDescription.SupplierBeanDescription.supplier()Method for constructing a supplier for this bean description instance: sometimes needed when code expects supplier, not description instance.Methods in tools.jackson.databind with parameters of type BeanDescription.SupplierModifier and TypeMethodDescription<T> TDeserializationContext.reportBadPropertyDefinition(BeanDescription.Supplier beanDescRef, BeanPropertyDefinition prop, String msg, Object... msgArgs) Helper method called to indicate problem in POJO (serialization) definitions or settings regarding specific property (of a type), unrelated to actual JSON content to map.<T> TDatabindContext.reportBadTypeDefinition(BeanDescription.Supplier beanDescRef, String msg, Object... msgArgs) AbstractTypeResolver.resolveAbstractType(DeserializationConfig config, BeanDescription.Supplier typeDescRef) Method called to try to resolve an abstract type into concrete type (usually for purposes of deserializing), when no concrete implementation was found. -
Uses of BeanDescription.Supplier in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as BeanDescription.SupplierModifier and TypeFieldDescriptionprotected final BeanDescription.SupplierBeanDeserializerBuilder._beanDescRefIntrospected information about POJO for deserializer to handleMethods in tools.jackson.databind.deser with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionprotected ValueInstantiatorBasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) Method that will construct standard defaultValueInstantiatorusing annotations (like @JsonCreator) and visibility rulesprotected ValueDeserializer<?>DeserializerCache._createDeserializer2(DeserializationContext ctxt, DeserializerFactory factory, JavaType type, BeanDescription.Supplier beanDescRef) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<Object>BasicDeserializerFactory._findCustomBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomEnumDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomMapDeserializer(MapType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomReferenceDeserializer(ReferenceType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomTreeNodeDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) protected ValueDeserializer<Object>BeanDeserializerFactory._findUnsupportedTypeDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Helper method called to see if given type, otherwise to be taken as POJO type, is "known but not supported" JDK type, and if so, return alternate handler (deserializer).protected voidBeanDeserializerFactory._validateSubType(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) protected voidBeanDeserializerFactory.addBackReferenceProperties(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder) Method that will find if bean has any managed- or back-reference properties, and if so add them to bean, to be linked during resolution phase.protected voidBeanDeserializerFactory.addBeanProps(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder) Method called to figure out settable properties for the bean deserializer to use.protected voidBeanDeserializerFactory.addInjectables(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder) Method called locate all members used for value injection (if any), constructorValueInjectorinstances, and add them to builder.protected voidBeanDeserializerFactory.addObjectIdReader(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder) BeanDeserializerFactory.buildBeanDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method that is to actually build a bean deserializer instance.protected ValueDeserializer<Object>BeanDeserializerFactory.buildBuilderBasedDeserializer(DeserializationContext ctxt, JavaType valueType, BeanDescription.Supplier builderDescRef) Method for constructing a bean deserializer that uses specified intermediate Builder for binding data, and construction of the value instance.BeanDeserializerFactory.buildThrowableDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) protected SettableAnyPropertyBeanDeserializerFactory.constructAnySetter(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, AnnotatedMember mutator) Method called to construct fallbackSettableAnyPropertyfor handling unknown bean properties, given a method that has been designated as such setter.protected BeanDeserializerBuilderBeanDeserializerFactory.constructBeanDeserializerBuilder(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) Overridable method that constructs aBeanDeserializerBuilderwhich is used to accumulate information needed to create deserializer instance.protected SettableBeanPropertyBasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, PropertyName name, int index, AnnotatedParameter param, JacksonInject.Value injectable) Method that will construct a property object that represents a logical property passed via Creator (constructor or static factory method)protected EnumResolverBasicDeserializerFactory.constructEnumResolver(DeserializationContext ctxt, Class<?> enumClass, BeanDescription.Supplier beanDescRef) static AbstractDeserializerAbstractDeserializer.constructForNonPOJO(BeanDescription.Supplier beanDescRef) Factory method used when constructing instances for non-POJO types, likeMaps.protected SettableBeanPropertyBeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanPropertyDefinition propDef, JavaType propType0) Method that will construct a regular bean property setter using the given setter method.BasicDeserializerFactory.createArrayDeserializer(DeserializationContext ctxt, ArrayType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createArrayDeserializer(DeserializationContext ctxt, ArrayType type, BeanDescription.Supplier beanDescRef) Method called to create (or, for completely immutable deserializers, reuse) a deserializer that can convert JSON content into values of specified Java type.BeanDeserializerFactory.createBeanDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method that called to create a new deserializer for types other than Collections, Maps, arrays, referential types or enums, or "well-known" JDK scalar types.abstract ValueDeserializer<Object>DeserializerFactory.createBeanDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method called to create (or, for completely immutable deserializers, reuse) a deserializer that can convert JSON content into values of specified Java "bean" (POJO) type.BeanDeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt, JavaType valueType, BeanDescription.Supplier valueBeanDescRef, Class<?> builderClass) abstract ValueDeserializer<Object>DeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, Class<?> builderClass) Method called to create a deserializer that will use specified Builder class for building value instances.BasicDeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt, CollectionType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt, CollectionType type, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt, CollectionLikeType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt, CollectionLikeType type, BeanDescription.Supplier beanDescRef) ValueInstantiator.Base.createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) abstract ValueInstantiatorValueInstantiator.createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) "Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies.ValueInstantiator.Delegating.createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createEnumDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Factory method for constructing deserializers ofEnumtypes.abstract ValueDeserializer<?>DeserializerFactory.createEnumDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createMapDeserializer(DeserializationContext ctxt, MapType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createMapDeserializer(DeserializationContext ctxt, MapType type, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt, MapLikeType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt, MapLikeType type, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createReferenceDeserializer(DeserializationContext ctxt, ReferenceType type, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createReferenceDeserializer(DeserializationContext ctxt, ReferenceType type, BeanDescription.Supplier beanDescRef) BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config, JavaType nodeType, BeanDescription.Supplier beanDescRef) abstract ValueDeserializer<?>DeserializerFactory.createTreeDeserializer(DeserializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef) Method called to create and return a deserializer that can construct JsonNode(s) from JSON content.protected List<BeanPropertyDefinition>BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder, List<BeanPropertyDefinition> propDefsIn, Set<String> ignored, Set<String> included) Helper method called to filter out explicit ignored properties, as well as properties that have "ignorable types".default ValueDeserializer<?>Deserializers.findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specified array type.default ValueDeserializer<?>Deserializers.findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) Method called to locate deserializer for specified value type which does not belong to any other category (not an Enum, Collection, Map, Array, reference value or tree node)default ValueDeserializer<?>Deserializers.findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedCollection(List, Set etc) type.default ValueDeserializer<?>Deserializers.findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specified "Collection-like" type (one that acts likeCollectionbut does not implement it).BasicDeserializerFactory.findDefaultDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Helper method called to find one of default deserializers for "well-known" platform types: JDK-provided types, and small number of public Jackson API types.default ValueDeserializer<?>Deserializers.findEnumDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) Method called to locate deserializer for specifiedEnumtype.KeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) default ValueDeserializer<?>Deserializers.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedMaptype.default ValueDeserializer<?>Deserializers.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specified "Map-like" type (one that acts likeMapbut does not implement it).protected ValueDeserializer<?>BasicDeserializerFactory.findOptionalStdDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Overridable method called after checking all other types.default ValueDeserializer<?>Deserializers.findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) Method called to locate deserializer for value that is of referential type,protected ValueDeserializer<?>BeanDeserializerFactory.findStdDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method called byBeanDeserializerFactoryto see if there might be a standard deserializer registered for given type.default ValueDeserializer<?>Deserializers.findTreeNodeDeserializer(JavaType nodeType, DeserializationConfig config, BeanDescription.Supplier beanDescRef) Method called to locate deserializer for specified JSON tree node type.BasicDeserializerFactory.findValueInstantiator(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) Value instantiator is created both based on creator annotations, and on optional externally provided instantiators (registered through module interface).abstract ValueInstantiatorDeserializerFactory.findValueInstantiator(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) Method that is to find all creators (constructors, factory methods) for the bean type to deserialize.ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config, BeanDescription.Supplier beanDescRef) ValueInstantiators.findValueInstantiator(DeserializationConfig config, BeanDescription.Supplier beanDescRef) Method called to find theValueInstantiatorto use for creating instances of specified type during deserialization.protected JavaTypeBeanDeserializerFactory.materializeAbstractType(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) ValueDeserializerModifier.modifyArrayDeserializer(DeserializationConfig config, ArrayType valueType, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byDeserializerFactoryafter it has constructed the standard deserializer for givenArrayTypeto make it possible to either replace or augment this deserializer with additional functionality.ValueDeserializerModifier.modifyCollectionDeserializer(DeserializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultCollectionTypedeserializer instance.ValueDeserializerModifier.modifyCollectionLikeDeserializer(DeserializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultCollectionLikeTypedeserializer instance.ValueDeserializerModifier.modifyDeserializer(DeserializationConfig config, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing default bean deserializer instance with properties collected and ordered earlier.ValueDeserializerModifier.modifyEnumDeserializer(DeserializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing default enum type deserializer instance.ValueDeserializerModifier.modifyMapDeserializer(DeserializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultMapTypedeserializer instance.ValueDeserializerModifier.modifyMapLikeDeserializer(DeserializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultMapLikeTypedeserializer instance.ValueDeserializerModifier.modifyReferenceDeserializer(DeserializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultReferenceTypedeserializer instance.default ValueInstantiatorValueInstantiators.modifyValueInstantiator(DeserializationConfig config, BeanDescription.Supplier beanDescRef, ValueInstantiator defaultInstantiator) Method called to find theValueInstantiatorto use for creating instances of specified type during deserialization.ValueDeserializerModifier.updateBuilder(DeserializationConfig config, BeanDescription.Supplier beanDescRef, BeanDeserializerBuilder builder) Method called byBeanDeserializerFactorywhen it has collected basic information such as tentative list of properties to deserialize.ValueDeserializerModifier.updateProperties(DeserializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> propDefs) Method called byBeanDeserializerFactorywhen it has collected initial list ofBeanPropertyDefinitions, and done basic by-name and by-type filtering, but before constructing builder or actual property handlers; or arranging order.Constructors in tools.jackson.databind.deser with parameters of type BeanDescription.SupplierModifierConstructorDescriptionBeanDeserializerBuilder(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) -
Uses of BeanDescription.Supplier in tools.jackson.databind.deser.bean
Constructors in tools.jackson.databind.deser.bean with parameters of type BeanDescription.SupplierModifierConstructorDescriptionBeanDeserializer(BeanDeserializerBuilder builder, BeanDescription.Supplier beanDescRef, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, HashSet<String> ignorableProps, boolean ignoreAllUnknown, Set<String> includableProps, boolean hasViews) Constructor used byBeanDeserializerBuilder.protectedBeanDeserializerBase(BeanDeserializerBuilder builder, BeanDescription.Supplier beanDescRef, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, Set<String> includableProps, boolean hasViews) Constructor used when initially building a deserializer instance, given aBeanDeserializerBuilderthat contains configuration.BuilderBasedDeserializer(BeanDeserializerBuilder builder, BeanDescription.Supplier beanDescRef, JavaType targetType, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, boolean hasViews) Constructor used byBeanDeserializerBuilder.BuilderBasedDeserializer(BeanDeserializerBuilder builder, BeanDescription.Supplier beanDescRef, JavaType targetType, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, Set<String> includableProps, boolean hasViews) -
Uses of BeanDescription.Supplier in tools.jackson.databind.deser.jdk
Methods in tools.jackson.databind.deser.jdk with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionJDKKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) -
Uses of BeanDescription.Supplier in tools.jackson.databind.deser.std
Methods in tools.jackson.databind.deser.std with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionStdValueInstantiator.createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef) -
Uses of BeanDescription.Supplier in tools.jackson.databind.exc
Methods in tools.jackson.databind.exc with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionstatic InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, BeanDescription.Supplier beanDescRef, BeanPropertyDefinition prop) -
Uses of BeanDescription.Supplier in tools.jackson.databind.introspect
Methods in tools.jackson.databind.introspect that return BeanDescription.Supplier -
Uses of BeanDescription.Supplier in tools.jackson.databind.jsontype.impl
Methods in tools.jackson.databind.jsontype.impl with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionvoidSubTypeValidator.validateSubType(DeserializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) -
Uses of BeanDescription.Supplier in tools.jackson.databind.module
Methods in tools.jackson.databind.module with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionSimpleDeserializers.findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) SimpleDeserializers.findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleDeserializers.findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findEnumDeserializer(JavaType enumType, DeserializationConfig config, BeanDescription.Supplier beanDescRef) SimpleSerializers.findEnumSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) SimpleKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef) SimpleDeserializers.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleDeserializers.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription.Supplier beanDescRef, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription.Supplier beanDescRef, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) SimpleSerializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) SimpleSerializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) SimpleDeserializers.findTreeNodeDeserializer(JavaType nodeType, DeserializationConfig config, BeanDescription.Supplier beanDescRef) SimpleSerializers.findTreeNodeSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) SimpleValueInstantiators.findValueInstantiator(DeserializationConfig config, BeanDescription.Supplier beanDescRef) SimpleAbstractTypeResolver.resolveAbstractType(DeserializationConfig config, BeanDescription.Supplier beanDescRef) -
Uses of BeanDescription.Supplier in tools.jackson.databind.ser
Fields in tools.jackson.databind.ser declared as BeanDescription.SupplierModifier and TypeFieldDescriptionprotected final BeanDescription.SupplierBeanSerializerBuilder._beanDescRefMethods in tools.jackson.databind.ser that return BeanDescription.SupplierMethods in tools.jackson.databind.ser with parameters of type BeanDescription.SupplierModifier and TypeMethodDescriptionprotected ValueSerializer<?>BasicSerializerFactory._buildReferenceSerializer(SerializationContext ctxt, Class<?> baseType, ReferenceType refType, BeanDescription.Supplier beanDescRef, boolean staticTyping, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentSerializer) protected JsonFormat.ValueBasicSerializerFactory._calculateEffectiveFormat(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, Class<?> baseType, JsonFormat.Value formatOverrides) Helper method that will combine all available pieces of format configuration and calculate effective format settings to use.protected MapSerializerBasicSerializerFactory._checkMapContentInclusion(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, MapSerializer mapSer) Helper method that does figures out content inclusion value to use, if any, and construct re-configuredMapSerializerappropriately.protected ValueSerializer<?>BeanSerializerFactory._createSerializer2(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, JavaType type, JsonFormat.Value formatOverrides, boolean staticTyping) protected JsonInclude.ValueBasicSerializerFactory._findInclusionWithContent(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, JavaType contentType, Class<?> configType) Helper method used for finding inclusion definitions for structured container types likeMaps and referential types (likeAtomicReference).protected ValueSerializer<?>BeanSerializerFactory._findUnsupportedTypeSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) protected ValueSerializer<?>BasicSerializerFactory.buildArraySerializer(SerializationContext ctxt, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forObject[](and subtypes, except for String).protected ValueSerializer<?>BasicSerializerFactory.buildCollectionSerializer(SerializationContext ctxt, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forListtypes that support efficient by-index accessprotected ValueSerializer<?>BasicSerializerFactory.buildContainerSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) protected ValueSerializer<?>BasicSerializerFactory.buildEnumSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat) protected ValueSerializer<?>BasicSerializerFactory.buildIterableSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildIteratorSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDesc, JsonFormat.Value formatOverrides, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapEntrySerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType keyType, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapSerializer(SerializationContext ctxt, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Helper method that handles configuration details when constructing serializers forMaptypes.protected JsonFormat.ValueSerializers.Base.calculateEffectiveFormat(BeanDescription.Supplier beanDescRef, Class<?> baseType, JsonFormat.Value formatOverrides) Helper method for determining effective combination of formatting settings from combination of Class annotations and config overrides for type and possible per-property overrides (in this order of precedence from lowest to highest).ValueSerializerModifier.changeProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith tentative set of discovered properties.protected ValueSerializer<Object>BeanSerializerFactory.constructBeanOrAddOnSerializer(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value format, boolean staticTyping) Method called to construct serializer based on checking which condition is matched: Nominal type isjava.lang.Object: if so, return special "no type known" serializer If a known "not-POJO" type (like JDKProxy), returnnullIf at least one logical property found, build actualBeanSerializerIf add-on type (likeIterable) found, create appropriate serializer If one of Jackson's "well-known" annotations found, create bogus "empty Object" Serializer or, if none matched, returnnull.protected BeanSerializerBuilderBeanSerializerFactory.constructBeanSerializerBuilder(SerializationConfig config, BeanDescription.Supplier beanDescRef) protected ObjectIdWriterBeanSerializerFactory.constructObjectIdHandler(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) protected PropertyBuilderBeanSerializerFactory.constructPropertyBuilder(SerializationConfig config, BeanDescription.Supplier beanDescRef) BeanSerializerFactory.createSerializer(SerializationContext ctxt, JavaType origType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Main serializer constructor method.abstract ValueSerializer<Object>SerializerFactory.createSerializer(SerializationContext ctxt, JavaType baseType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverride) Method called to create (or, for immutable serializers, reuse) a serializer for given type.protected List<BeanPropertyWriter>BeanSerializerFactory.filterBeanProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyWriter> props) Overridable method used to filter out specifically problematic JDK provided properties.default ValueSerializer<?>Serializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified array type.protected List<BeanPropertyWriter>BeanSerializerFactory.findBeanProperties(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanSerializerBuilder builder) Method used to collect all actual serializable properties.default ValueSerializer<?>Serializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Collection-like" type (type that acts likeCollection, but does not implement it).default ValueSerializer<?>Serializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedCollectiontype.default ValueSerializer<?>Serializers.findEnumSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Method called by serialization framework first time a serializer is needed for givenEnumtype.default ValueSerializer<?>Serializers.findExplicitPOJOSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Method called in case that a given type or property is declared to use shapeJsonFormat.Shape.POJOand is expected to be serialized "as POJO", that is, as an (JSON) Object.protected ObjectBasicSerializerFactory.findFilterId(SerializationConfig config, BeanDescription.Supplier beanDescRef) Method called to find filter that is configured to be used with bean serializer being built, if any.default ValueSerializer<?>Serializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specified "Map-like" type (type that acts likeMap, but does not implement it).default ValueSerializer<?>Serializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedMaptype.BasicSerializerFactory.findReferenceSerializer(SerializationContext ctxt, ReferenceType refType, BeanDescription.Supplier beanDesc, JsonFormat.Value format, boolean staticTyping) default ValueSerializer<?>Serializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) Method called by serialization framework first time a serializer is needed for givenReferenceTypedefault ValueSerializer<?>Serializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) Fallback ethod called by serialization framework first time a serializer is needed for given type, which is not of any more specific type (like enum, tree node, reference or container type) for which other methods are called).protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByAddonType(SerializationContext ctxt, JavaType javaType, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) Reflection-based serialized find method, which checks if given class implements one of recognized "add-on" interfaces.protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByAnnotations(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef) Method called to see if one of primary per-class annotations (or related, like implementing ofJacksonSerializable) determines the serializer to use.protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByPrimaryType(SerializationContext ctxt, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides, boolean staticTyping) Method for checking if we can determine serializer to use based on set of known primary types, checking for set of known base types (exact matches having been compared against withfindSerializerByLookup).default ValueSerializer<?>Serializers.findTreeNodeSerializer(SerializationConfig config, JavaType type, BeanDescription.Supplier beanDescRef, JsonFormat.Value formatOverrides) ValueSerializerModifier.modifyArraySerializer(SerializationConfig config, ArrayType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the standard serializer for givenArrayTypeto make it possible to either replace or augment this serializer with additional functionality.ValueSerializerModifier.modifyCollectionLikeSerializer(SerializationConfig config, CollectionLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyCollectionSerializer(SerializationConfig config, CollectionType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyEnumSerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyKeySerializer(SerializationConfig config, JavaType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byDeserializerFactoryafter it has constructed the default key serializer to use for serializingMapkeys of given type.ValueSerializerModifier.modifyMapLikeSerializer(SerializationConfig config, MapLikeType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyMapSerializer(SerializationConfig config, MapType valueType, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifySerializer(SerializationConfig config, BeanDescription.Supplier beanDesc, ValueSerializer<?> serializer) Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.ValueSerializerModifier.orderProperties(SerializationConfig config, BeanDescription.Supplier beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).protected voidBeanSerializerFactory.removeIgnorableTypes(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> properties) Method that will apply by-type limitations (as per [JACKSON-429]); by default this is based onJsonIgnoreTypeannotation but can be supplied by module-provided introspectors too.protected List<BeanPropertyWriter>BeanSerializerFactory.removeOverlappingTypeIds(SerializationContext ctxt, BeanDescription.Supplier beanDescRef, BeanSerializerBuilder builder, List<BeanPropertyWriter> props) Helper method called to ensure that we do not have "duplicate" type ids.protected voidBeanSerializerFactory.removeSetterlessGetters(SerializationConfig config, BeanDescription.Supplier beanDescRef, List<BeanPropertyDefinition> properties) Helper method that will remove all properties that do not have a mutator.ValueSerializerModifier.updateBuilder(SerializationConfig config, BeanDescription.Supplier beanDesc, BeanSerializerBuilder builder) Method called byBeanSerializerFactoryafter collecting all information regarding POJO to serialize and updating builder with it, but before constructing serializer.protected booleanBasicSerializerFactory.usesStaticTyping(SerializationConfig config, BeanDescription.Supplier beanDescRef) Helper method to check whether global settings and/or class annotations for the bean class indicate that static typing (declared types) should be used for properties.Constructors in tools.jackson.databind.ser with parameters of type BeanDescription.SupplierModifierConstructorDescriptionBeanSerializerBuilder(SerializationConfig config, BeanDescription.Supplier beanDescRef)