Uses of Class
tools.jackson.databind.BeanDescription
Packages that use BeanDescription
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 in tools.jackson.databind
Methods in tools.jackson.databind that return BeanDescriptionModifier and TypeMethodDescriptionabstract BeanDescriptionDatabindContext.introspectBeanDescription(JavaType type) Convenience method for doing full "for serialization" introspection of specified type; results may be cached during lifespan of this context as well.DeserializationContext.introspectBeanDescription(JavaType type) SerializationContext.introspectBeanDescription(JavaType type) DeserializationContext.introspectBeanDescriptionForBuilder(JavaType builderType, BeanDescription valueTypeDesc) DeserializationContext.introspectBeanDescriptionForCreation(JavaType type) Methods in tools.jackson.databind with parameters of type BeanDescriptionModifier and TypeMethodDescriptionDeserializationContext.introspectBeanDescriptionForBuilder(JavaType builderType, BeanDescription valueTypeDesc) <T> TDeserializationContext.reportBadPropertyDefinition(BeanDescription bean, 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> TSerializationContext.reportBadPropertyDefinition(BeanDescription bean, BeanPropertyDefinition prop, String message, 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.abstract <T> TDatabindContext.reportBadTypeDefinition(BeanDescription bean, String msg, Object... msgArgs) <T> TDeserializationContext.reportBadTypeDefinition(BeanDescription bean, String msg, Object... msgArgs) Helper method called to indicate problem in POJO (serialization) definitions or settings regarding specific Java type, unrelated to actual JSON content to map.<T> TSerializationContext.reportBadTypeDefinition(BeanDescription bean, String msg, Object... msgArgs) Helper method called to indicate problem in POJO (serialization) definitions or settings regarding specific Java type, unrelated to actual JSON content to map.AbstractTypeResolver.resolveAbstractType(DeserializationConfig config, BeanDescription typeDesc) 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 in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as BeanDescriptionModifier and TypeFieldDescriptionprotected final BeanDescriptionBeanDeserializerBuilder._beanDescIntrospected information about POJO for deserializer to handleMethods in tools.jackson.databind.deser with parameters of type BeanDescriptionModifier and TypeMethodDescriptionprotected ValueInstantiatorBasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt, BeanDescription beanDesc) Method that will construct standard defaultValueInstantiatorusing annotations (like @JsonCreator) and visibility rulesprotected ValueDeserializer<?>DeserializerCache._createDeserializer2(DeserializationContext ctxt, DeserializerFactory factory, JavaType type, BeanDescription beanDesc) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<Object>BasicDeserializerFactory._findCustomBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomEnumDeserializer(Class<?> type, DeserializationConfig config, BeanDescription beanDesc) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomReferenceDeserializer(ReferenceType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) protected ValueDeserializer<?>BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type, DeserializationConfig config, BeanDescription beanDesc) protected ValueDeserializer<Object>BeanDeserializerFactory._findUnsupportedTypeDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) 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 beanDesc) protected voidBeanDeserializerFactory.addBackReferenceProperties(DeserializationContext ctxt, BeanDescription beanDesc, 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 beanDesc, BeanDeserializerBuilder builder) Method called to figure out settable properties for the bean deserializer to use.protected voidBeanDeserializerFactory.addInjectables(DeserializationContext ctxt, BeanDescription beanDesc, 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 beanDesc, BeanDeserializerBuilder builder) BeanDeserializerFactory.buildBeanDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) Method that is to actually build a bean deserializer instance.protected ValueDeserializer<Object>BeanDeserializerFactory.buildBuilderBasedDeserializer(DeserializationContext ctxt, JavaType valueType, BeanDescription builderDesc) 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 beanDesc) protected SettableAnyPropertyBeanDeserializerFactory.constructAnySetter(DeserializationContext ctxt, BeanDescription beanDesc, 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 beanDesc) Overridable method that constructs aBeanDeserializerBuilderwhich is used to accumulate information needed to create deserializer instance.protected SettableBeanPropertyBasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt, BeanDescription beanDesc, 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 beanDesc) static AbstractDeserializerAbstractDeserializer.constructForNonPOJO(BeanDescription beanDesc) Factory method used when constructing instances for non-POJO types, likeMaps.protected SettableBeanPropertyBeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef, JavaType propType0) Method that will construct a regular bean property setter using the given setter method.protected SettableBeanPropertyBeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef) Method that will construct a regular bean property setter using the given setter method.BasicDeserializerFactory.createArrayDeserializer(DeserializationContext ctxt, ArrayType type, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createArrayDeserializer(DeserializationContext ctxt, ArrayType type, BeanDescription beanDesc) 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 beanDesc) 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 beanDesc) 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 valueBeanDesc, Class<?> builderClass) abstract ValueDeserializer<Object>DeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc, 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 beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt, CollectionType type, BeanDescription beanDesc) BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt, CollectionLikeType type, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt, CollectionLikeType type, BeanDescription beanDesc) ValueInstantiator.Base.createContextual(DeserializationContext ctxt, BeanDescription beanDesc) abstract ValueInstantiatorValueInstantiator.createContextual(DeserializationContext ctxt, BeanDescription beanDesc) "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 beanDesc) BasicDeserializerFactory.createEnumDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) Factory method for constructing deserializers ofEnumtypes.abstract ValueDeserializer<?>DeserializerFactory.createEnumDeserializer(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) BasicDeserializerFactory.createMapDeserializer(DeserializationContext ctxt, MapType type, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createMapDeserializer(DeserializationContext ctxt, MapType type, BeanDescription beanDesc) BasicDeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt, MapLikeType type, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt, MapLikeType type, BeanDescription beanDesc) BasicDeserializerFactory.createReferenceDeserializer(DeserializationContext ctxt, ReferenceType type, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createReferenceDeserializer(DeserializationContext ctxt, ReferenceType type, BeanDescription beanDesc) BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config, JavaType nodeType, BeanDescription beanDesc) abstract ValueDeserializer<?>DeserializerFactory.createTreeDeserializer(DeserializationConfig config, JavaType type, BeanDescription beanDesc) Method called to create and return a deserializer that can construct JsonNode(s) from JSON content.protected List<BeanPropertyDefinition>BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt, BeanDescription beanDesc, 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".Deserializers.Base.findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specified array type.Deserializers.Base.findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) Deserializers.findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) 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)Deserializers.Base.findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedCollection(List, Set etc) type.Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, 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 beanDesc) 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.Deserializers.Base.findEnumDeserializer(Class<?> type, DeserializationConfig config, BeanDescription beanDesc) Deserializers.findEnumDeserializer(Class<?> type, DeserializationConfig config, BeanDescription beanDesc) Method called to locate deserializer for specifiedEnumtype.KeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) Deserializers.Base.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Method called to locate deserializer for specifiedMaptype.Deserializers.Base.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) Deserializers.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, 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 beanDesc) Overridable method called after checking all other types.Deserializers.Base.findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) Deserializers.findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription beanDesc, 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 beanDesc) Method called byBeanDeserializerFactoryto see if there might be a standard deserializer registered for given type.Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc) Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc) Method called to locate deserializer for specified JSON tree node type.BasicDeserializerFactory.findValueInstantiator(DeserializationContext ctxt, BeanDescription beanDesc) 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 beanDesc) Method that is to find all creators (constructors, factory methods) for the bean type to deserialize.ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc) ValueInstantiators.findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc) Method called to find theValueInstantiatorto use for creating instances of specified type during deserialization.protected JavaTypeBeanDeserializerFactory.materializeAbstractType(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) ValueDeserializerModifier.modifyArrayDeserializer(DeserializationConfig config, ArrayType valueType, BeanDescription beanDesc, 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 beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultCollectionTypedeserializer instance.ValueDeserializerModifier.modifyCollectionLikeDeserializer(DeserializationConfig config, CollectionLikeType type, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultCollectionLikeTypedeserializer instance.ValueDeserializerModifier.modifyDeserializer(DeserializationConfig config, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing default bean deserializer instance with properties collected and ordered earlier.ValueDeserializerModifier.modifyEnumDeserializer(DeserializationConfig config, JavaType type, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing default enum type deserializer instance.ValueDeserializerModifier.modifyMapDeserializer(DeserializationConfig config, MapType type, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultMapTypedeserializer instance.ValueDeserializerModifier.modifyMapLikeDeserializer(DeserializationConfig config, MapLikeType type, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultMapLikeTypedeserializer instance.ValueDeserializerModifier.modifyReferenceDeserializer(DeserializationConfig config, ReferenceType type, BeanDescription beanDesc, ValueDeserializer<?> deserializer) Method called byBeanDeserializerFactoryafter constructing defaultReferenceTypedeserializer instance.default ValueInstantiatorValueInstantiators.modifyValueInstantiator(DeserializationConfig config, BeanDescription beanDesc, ValueInstantiator defaultInstantiator) Method called to find theValueInstantiatorto use for creating instances of specified type during deserialization.ValueDeserializerModifier.updateBuilder(DeserializationConfig config, BeanDescription beanDesc, BeanDeserializerBuilder builder) Method called byBeanDeserializerFactorywhen it has collected basic information such as tentative list of properties to deserialize.ValueDeserializerModifier.updateProperties(DeserializationConfig config, BeanDescription beanDesc, 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 BeanDescriptionModifierConstructorDescriptionprotectedAbstractDeserializer(BeanDescription beanDesc) AbstractDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, Map<String, SettableBeanProperty> backRefProps, Map<String, SettableBeanProperty> props) BeanDeserializerBuilder(BeanDescription beanDesc, DeserializationContext ctxt) -
Uses of BeanDescription in tools.jackson.databind.deser.bean
Fields in tools.jackson.databind.deser.bean declared as BeanDescriptionModifier and TypeFieldDescriptionprotected final BeanDescriptionCreatorCollector._beanDescType of bean being createdConstructors in tools.jackson.databind.deser.bean with parameters of type BeanDescriptionModifierConstructorDescriptionBeanDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, HashSet<String> ignorableProps, boolean ignoreAllUnknown, Set<String> includableProps, boolean hasViews) Constructor used byBeanDeserializerBuilder.protectedBeanDeserializerBase(BeanDeserializerBuilder builder, BeanDescription beanDesc, 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 beanDesc, JavaType targetType, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, boolean hasViews) Constructor used byBeanDeserializerBuilder.BuilderBasedDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, JavaType targetType, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, Set<String> includableProps, boolean hasViews) CreatorCollector(BeanDescription beanDesc, MapperConfig<?> config) -
Uses of BeanDescription in tools.jackson.databind.deser.jdk
Methods in tools.jackson.databind.deser.jdk with parameters of type BeanDescriptionModifier and TypeMethodDescriptionJDKKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) -
Uses of BeanDescription in tools.jackson.databind.deser.std
Methods in tools.jackson.databind.deser.std with parameters of type BeanDescriptionModifier and TypeMethodDescriptionStdValueInstantiator.createContextual(DeserializationContext ctxt, BeanDescription beanDesc) -
Uses of BeanDescription in tools.jackson.databind.exc
Fields in tools.jackson.databind.exc declared as BeanDescriptionMethods in tools.jackson.databind.exc that return BeanDescriptionModifier and TypeMethodDescriptionInvalidDefinitionException.getBeanDescription()Accessor for type definition (class) that had the definition problem, if any; may sometimes be undefined or unknown; if so, returnsnull.Methods in tools.jackson.databind.exc with parameters of type BeanDescriptionModifier and TypeMethodDescriptionstatic InvalidDefinitionExceptionInvalidDefinitionException.from(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) static InvalidDefinitionExceptionInvalidDefinitionException.from(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) Constructors in tools.jackson.databind.exc with parameters of type BeanDescriptionModifierConstructorDescriptionprotectedInvalidDefinitionException(JsonGenerator g, String msg, BeanDescription bean, BeanPropertyDefinition prop) protectedInvalidDefinitionException(JsonParser p, String msg, BeanDescription bean, BeanPropertyDefinition prop) -
Uses of BeanDescription in tools.jackson.databind.introspect
Subclasses of BeanDescription in tools.jackson.databind.introspectMethods in tools.jackson.databind.introspect that return BeanDescriptionModifier and TypeMethodDescriptionabstract BeanDescriptionClassIntrospector.introspectForCreation(JavaType type) Factory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methodsabstract BeanDescriptionClassIntrospector.introspectForDeserialization(JavaType type) Factory method that constructs an introspector that has all information needed for deserialization purposes.abstract BeanDescriptionClassIntrospector.introspectForDeserializationWithBuilder(JavaType builderType, BeanDescription valueTypeDesc) Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects.abstract BeanDescriptionClassIntrospector.introspectForSerialization(JavaType type) Factory method that constructs an introspector that has all information needed for serialization purposes.Methods in tools.jackson.databind.introspect with parameters of type BeanDescriptionModifier and TypeMethodDescriptionprotected POJOPropertiesCollectorBasicClassIntrospector.collectPropertiesWithBuilder(JavaType type, AnnotatedClass builderClassDef, BeanDescription valueTypeDesc, boolean forSerialization) abstract AccessorNamingStrategyAccessorNamingStrategy.Provider.forBuilder(MapperConfig<?> config, AnnotatedClass builderClass, BeanDescription valueTypeDesc) Factory method for creating strategy instance for POJOs that are deserialized using Builder type: in this case eventual target (value) type is different from type of "builder" object that is used by databinding to accumulate state.DefaultAccessorNamingStrategy.Provider.forBuilder(MapperConfig<?> config, AnnotatedClass builderClass, BeanDescription valueTypeDesc) BasicClassIntrospector.introspectForDeserializationWithBuilder(JavaType type, BeanDescription valueTypeDesc) abstract BeanDescriptionClassIntrospector.introspectForDeserializationWithBuilder(JavaType builderType, BeanDescription valueTypeDesc) Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects. -
Uses of BeanDescription in tools.jackson.databind.jsontype.impl
Methods in tools.jackson.databind.jsontype.impl with parameters of type BeanDescriptionModifier and TypeMethodDescriptionvoidSubTypeValidator.validateSubType(DeserializationContext ctxt, JavaType type, BeanDescription beanDesc) -
Uses of BeanDescription in tools.jackson.databind.module
Methods in tools.jackson.databind.module with parameters of type BeanDescriptionModifier and TypeMethodDescriptionSimpleDeserializers.findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findBeanDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) SimpleDeserializers.findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleDeserializers.findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findEnumDeserializer(Class<?> type, DeserializationConfig config, BeanDescription beanDesc) SimpleKeyDeserializers.findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc) SimpleDeserializers.findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleDeserializers.findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, ValueDeserializer<?> elementDeserializer) SimpleSerializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleSerializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) SimpleDeserializers.findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, ValueDeserializer<?> contentDeserializer) SimpleSerializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides) SimpleDeserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc) SimpleValueInstantiators.findValueInstantiator(DeserializationConfig config, BeanDescription beanDesc) SimpleAbstractTypeResolver.resolveAbstractType(DeserializationConfig config, BeanDescription typeDesc) -
Uses of BeanDescription in tools.jackson.databind.ser
Fields in tools.jackson.databind.ser declared as BeanDescriptionModifier and TypeFieldDescriptionprotected final BeanDescriptionBeanSerializerBuilder._beanDescprotected final BeanDescriptionPropertyBuilder._beanDescMethods in tools.jackson.databind.ser that return BeanDescriptionMethods in tools.jackson.databind.ser with parameters of type BeanDescriptionModifier and TypeMethodDescriptionprotected ValueSerializer<?>BasicSerializerFactory._buildReferenceSerializer(SerializationContext ctxt, Class<?> baseType, ReferenceType refType, BeanDescription beanDesc, boolean staticTyping, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentSerializer) protected JsonFormat.ValueBasicSerializerFactory._calculateEffectiveFormat(BeanDescription beanDesc, 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 beanDesc, 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 beanDesc, JavaType type, JsonFormat.Value formatOverrides, boolean staticTyping) protected JsonInclude.ValueBasicSerializerFactory._findInclusionWithContent(SerializationContext ctxt, BeanDescription beanDesc, 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 beanDesc) protected ValueSerializer<?>BasicSerializerFactory.buildArraySerializer(SerializationContext ctxt, ArrayType type, BeanDescription beanDesc, 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 beanDesc, 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 beanDesc, JsonFormat.Value formatOverrides, boolean staticTyping) protected ValueSerializer<?>BasicSerializerFactory.buildEnumSerializer(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, JsonFormat.Value effectiveFormat) protected ValueSerializer<?>BasicSerializerFactory.buildIterableSerializer(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildIteratorSerializer(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, boolean staticTyping, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapEntrySerializer(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, JsonFormat.Value effectiveFormat, boolean staticTyping, JavaType keyType, JavaType valueType) protected ValueSerializer<?>BasicSerializerFactory.buildMapSerializer(SerializationContext ctxt, MapType type, BeanDescription beanDesc, 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 beanDesc, 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 beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactorywith tentative set of discovered properties.protected ValueSerializer<Object>BeanSerializerFactory.constructBeanOrAddOnSerializer(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, 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 beanDesc) protected ObjectIdWriterBeanSerializerFactory.constructObjectIdHandler(SerializationContext ctxt, BeanDescription beanDesc, List<BeanPropertyWriter> props) protected PropertyBuilderBeanSerializerFactory.constructPropertyBuilder(SerializationConfig config, BeanDescription beanDesc) BeanSerializerFactory.createSerializer(SerializationContext ctxt, JavaType origType, BeanDescription beanDesc, JsonFormat.Value formatOverrides) Main serializer constructor method.abstract ValueSerializer<Object>SerializerFactory.createSerializer(SerializationContext ctxt, JavaType baseType, BeanDescription beanDesc, 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 beanDesc, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>BeanSerializerFactory.filterUnwantedJDKProperties(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyWriter> props) Overridable method used to filter out specifically problematic JDK provided properties.Serializers.Base.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) default ValueSerializer<?>Serializers.findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, 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 beanDesc, BeanSerializerBuilder builder) Method used to collect all actual serializable properties.Serializers.Base.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) default ValueSerializer<?>Serializers.findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType type, BeanDescription beanDesc, 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).Serializers.Base.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) default ValueSerializer<?>Serializers.findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) Method called by serialization framework first time a serializer is needed for specifiedCollectiontype.Serializers.Base.findExplicitPOJOSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides) default ValueSerializer<?>Serializers.findExplicitPOJOSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, 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 beanDesc) Method called to find filter that is configured to be used with bean serializer being built, if any.Serializers.Base.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) default ValueSerializer<?>Serializers.findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, 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).Serializers.Base.findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, ValueSerializer<Object> keySerializer, TypeSerializer elementTypeSerializer, ValueSerializer<Object> elementValueSerializer) default ValueSerializer<?>Serializers.findMapSerializer(SerializationConfig config, MapType type, BeanDescription beanDesc, 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 beanDesc, JsonFormat.Value format, boolean staticTyping) Serializers.Base.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) default ValueSerializer<?>Serializers.findReferenceSerializer(SerializationConfig config, ReferenceType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides, TypeSerializer contentTypeSerializer, ValueSerializer<Object> contentValueSerializer) Method called by serialization framework first time a serializer is needed for givenReferenceTypeSerializers.Base.findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides) default ValueSerializer<?>Serializers.findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, JsonFormat.Value formatOverrides) Method called by serialization framework first time a serializer is needed for specified type, which is not of a container or reference type (for which other methods are called).protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByAddonType(SerializationContext ctxt, JavaType javaType, BeanDescription beanDesc, 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 beanDesc) 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.findSerializerByLookup(JavaType type, SerializationConfig config, BeanDescription beanDesc, JsonFormat.Value format, boolean staticTyping) Method that will use fast lookup (and identity comparison) methods to see if we know serializer to use for given type.protected final ValueSerializer<?>BasicSerializerFactory.findSerializerByPrimaryType(SerializationContext ctxt, JavaType type, BeanDescription beanDesc, 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).ValueSerializerModifier.modifyArraySerializer(SerializationConfig config, ArrayType valueType, BeanDescription 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 beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyCollectionSerializer(SerializationConfig config, CollectionType valueType, BeanDescription beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyEnumSerializer(SerializationConfig config, JavaType valueType, BeanDescription beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyKeySerializer(SerializationConfig config, JavaType valueType, BeanDescription 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 beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifyMapSerializer(SerializationConfig config, MapType valueType, BeanDescription beanDesc, ValueSerializer<?> serializer) ValueSerializerModifier.modifySerializer(SerializationConfig config, BeanDescription beanDesc, ValueSerializer<?> serializer) Method called byBeanSerializerFactoryafter constructing default bean serializer instance with properties collected and ordered earlier.ValueSerializerModifier.orderProperties(SerializationConfig config, BeanDescription 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 beanDesc, 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 beanDesc, BeanSerializerBuilder builder, List<BeanPropertyWriter> props) Helper method called to ensure that we do not have "duplicate" type ids.protected voidBeanSerializerFactory.removeSetterlessGetters(SerializationConfig config, BeanDescription beanDesc, List<BeanPropertyDefinition> properties) Helper method that will remove all properties that do not have a mutator.ValueSerializerModifier.updateBuilder(SerializationConfig config, BeanDescription 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 beanDesc) 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 BeanDescriptionModifierConstructorDescriptionBeanSerializerBuilder(SerializationConfig config, BeanDescription beanDesc) PropertyBuilder(SerializationConfig config, BeanDescription beanDesc) -
Uses of BeanDescription in tools.jackson.databind.ser.jdk
Methods in tools.jackson.databind.ser.jdk with parameters of type BeanDescriptionModifier and TypeMethodDescriptionstatic EnumSerializerEnumSerializer.construct(Class<?> enumClass, SerializationConfig config, BeanDescription beanDesc, JsonFormat.Value format) Factory method used byBasicSerializerFactoryfor constructing serializer instance of Enum types.