Uses of Class
com.fasterxml.jackson.databind.jsontype.TypeDeserializer
-
Packages that use TypeDeserializer Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver.com.fasterxml.jackson.databind.module Package that contains classes and interfaces to help implement custom extensionModules (which are registered usingObjectMapper.registerModule(com.fasterxml.jackson.databind.Module). -
-
Uses of TypeDeserializer in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return TypeDeserializer Modifier and Type Method Description TypeDeserializerObjectMapper.DefaultTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes)TypeDeserializerDeserializationConfig. findTypeDeserializer(JavaType baseType)Helper method that is needed to properly handle polymorphic referenced types, such as types referenced byAtomicReference, or various "optional" types.Methods in com.fasterxml.jackson.databind with parameters of type TypeDeserializer Modifier and Type Method Description ObjectJsonDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Deserialization called when type being deserialized is defined to contain additional type identifier, to allow for correctly instantiating correct subtype.ObjectJsonDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer, T intoValue)Method similar toJsonDeserializer.deserializeWithType(JsonParser,DeserializationContext,TypeDeserializer)but called when merging value. -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as TypeDeserializer Modifier and Type Field Description protected TypeDeserializerSettableAnyProperty. _valueTypeDeserializerprotected TypeDeserializerSettableBeanProperty. _valueTypeDeserializerIf value will contain type information (to support polymorphic handling), this is the type deserializer used to handle type resolution.Methods in com.fasterxml.jackson.databind.deser that return TypeDeserializer Modifier and Type Method Description TypeDeserializerBasicDeserializerFactory. findPropertyContentTypeDeserializer(DeserializationConfig config, JavaType containerType, AnnotatedMember propertyEntity)Method called to find and create a type information deserializer for values of given container (list, array, map) property, if one is needed.TypeDeserializerBasicDeserializerFactory. findPropertyTypeDeserializer(DeserializationConfig config, JavaType baseType, AnnotatedMember annotated)Method called to create a type information deserializer for values of given non-container property, if one is needed.TypeDeserializerBasicDeserializerFactory. findTypeDeserializer(DeserializationConfig config, JavaType baseType)abstract TypeDeserializerDeserializerFactory. findTypeDeserializer(DeserializationConfig config, JavaType baseType)Method called to find and create a type information deserializer for given base type, if one is needed.TypeDeserializerSettableBeanProperty.Delegating. getValueTypeDeserializer()TypeDeserializerSettableBeanProperty. getValueTypeDeserializer()Methods in com.fasterxml.jackson.databind.deser with parameters of type TypeDeserializer Modifier and Type Method Description protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)protected JsonDeserializer<?>BasicDeserializerFactory. _findCustomReferenceDeserializer(ReferenceType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, JsonDeserializer<?> contentDeserializer)ObjectAbstractDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectBeanDeserializerBase. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)JsonDeserializer<?>Deserializers.Base. findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)JsonDeserializer<?>Deserializers. findArrayDeserializer(ArrayType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)Method called to locate serializer for specified array type.JsonDeserializer<?>Deserializers.Base. findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)JsonDeserializer<?>Deserializers. findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)Method called to locate serializer for specifiedCollection(List, Set etc) type.JsonDeserializer<?>Deserializers.Base. findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)JsonDeserializer<?>Deserializers. findCollectionLikeDeserializer(CollectionLikeType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)Method called to locate serializer for specified "Collection-like" type (one that acts likeCollectionbut does not implement it).JsonDeserializer<?>Deserializers.Base. findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)JsonDeserializer<?>Deserializers. findMapDeserializer(MapType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)Method called to locate deserializer for specifiedMaptype.JsonDeserializer<?>Deserializers.Base. findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)JsonDeserializer<?>Deserializers. findMapLikeDeserializer(MapLikeType type, DeserializationConfig config, BeanDescription beanDesc, KeyDeserializer keyDeserializer, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)Method called to locate serializer for specified "Map-like" type (one that acts likeMapbut does not implement it).JsonDeserializer<?>Deserializers.Base. findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, JsonDeserializer<?> contentDeserializer)JsonDeserializer<?>Deserializers. findReferenceDeserializer(ReferenceType refType, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer contentTypeDeserializer, JsonDeserializer<?> contentDeserializer)Method called to locate deserializer for value that is of referential type,Constructors in com.fasterxml.jackson.databind.deser with parameters of type TypeDeserializer Constructor Description CreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, Object injectableValueId, PropertyMetadata metadata)SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)Deprecated.SettableAnyProperty(BeanProperty property, AnnotatedMember setter, JavaType type, KeyDeserializer keyDeser, JsonDeserializer<Object> valueDeser, TypeDeserializer typeDeser)SettableBeanProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations)SettableBeanProperty(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata) -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as TypeDeserializer Modifier and Type Field Description protected TypeDeserializerTypeWrappedDeserializer. _typeDeserializerMethods in com.fasterxml.jackson.databind.deser.impl with parameters of type TypeDeserializer Modifier and Type Method Description voidExternalTypeHandler.Builder. addExternal(SettableBeanProperty property, TypeDeserializer typeDeser)ObjectTypeWrappedDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type TypeDeserializer Constructor Description FieldProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)MethodProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)SetterlessProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)TypeWrappedDeserializer(TypeDeserializer typeDeser, JsonDeserializer<?> deser) -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.deser.std
Fields in com.fasterxml.jackson.databind.deser.std declared as TypeDeserializer Modifier and Type Field Description protected TypeDeserializerObjectArrayDeserializer. _elementTypeDeserializerIf element instances have polymorphic type information, this is the type deserializer that can handle itprotected TypeDeserializerCollectionDeserializer. _valueTypeDeserializerIf element instances have polymorphic type information, this is the type deserializer that can handle itprotected TypeDeserializerEnumMapDeserializer. _valueTypeDeserializerIf value instances have polymorphic type information, this is the type deserializer that can handle itprotected TypeDeserializerMapDeserializer. _valueTypeDeserializerIf value instances have polymorphic type information, this is the type deserializer that can handle itprotected TypeDeserializerMapEntryDeserializer. _valueTypeDeserializerIf value instances have polymorphic type information, this is the type deserializer that can handle itprotected TypeDeserializerReferenceTypeDeserializer. _valueTypeDeserializerMethods in com.fasterxml.jackson.databind.deser.std with parameters of type TypeDeserializer Modifier and Type Method Description ObjectArrayBlockingQueueDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectCollectionDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectDelegatingDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectEnumMapDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectEnumSetDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectMapDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectMapEntryDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectNullifyingDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)BooleanNumberDeserializers.BooleanDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)DoubleNumberDeserializers.DoubleDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)IntegerNumberDeserializers.IntegerDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectNumberDeserializers.NumberDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)As mentioned in class Javadoc, there is additional complexity in handling potentially mixed type information here.Object[]ObjectArrayDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectPrimitiveArrayDeserializers. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectReferenceTypeDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStdDelegatingDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStdDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)Base implementation that does not assume specific type inclusion mechanism.ObjectStdNodeBasedDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser jp, DeserializationContext ctxt, TypeDeserializer td)ObjectStdScalarDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStringArrayDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectStringCollectionDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)StringStringDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectUntypedObjectDeserializer. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectUntypedObjectDeserializer.Vanilla. deserializeWithType(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TypeDeserializer typeDeserializer)ObjectArrayDeserializerObjectArrayDeserializer. withDeserializer(TypeDeserializer elemTypeDeser, JsonDeserializer<?> elemDeser)Overridable fluent-factory method used to create contextual instancesprotected ArrayBlockingQueueDeserializerArrayBlockingQueueDeserializer. withResolved(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle)Fluent-factory method call to construct contextual instance.AtomicReferenceDeserializerAtomicReferenceDeserializer. withResolved(TypeDeserializer typeDeser, JsonDeserializer<?> valueDeser)protected CollectionDeserializerCollectionDeserializer. withResolved(JsonDeserializer<?> dd, JsonDeserializer<?> vd, TypeDeserializer vtd, NullValueProvider nuller, Boolean unwrapSingle)Fluent-factory method call to construct contextual instance.EnumMapDeserializerEnumMapDeserializer. withResolved(KeyDeserializer keyDeserializer, JsonDeserializer<?> valueDeserializer, TypeDeserializer valueTypeDeser, NullValueProvider nuller)protected MapDeserializerMapDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser, NullValueProvider nuller, Set<String> ignorable)Fluent factory method used to create a copy with slightly different settings.protected MapEntryDeserializerMapEntryDeserializer. withResolved(KeyDeserializer keyDeser, TypeDeserializer valueTypeDeser, JsonDeserializer<?> valueDeser)Fluent factory method used to create a copy with slightly different settings.ObjectArrayDeserializerObjectArrayDeserializer. withResolved(TypeDeserializer elemTypeDeser, JsonDeserializer<?> elemDeser, NullValueProvider nuller, Boolean unwrapSingle)protected abstract ReferenceTypeDeserializer<T>ReferenceTypeDeserializer. withResolved(TypeDeserializer typeDeser, JsonDeserializer<?> valueDeser)Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated. -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype that return TypeDeserializer Modifier and Type Method Description TypeDeserializerTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes)Method for building type deserializer based on current configuration of this builder.abstract TypeDeserializerTypeDeserializer. forProperty(BeanProperty prop)Method called to create contextual version, to be used for values of given property. -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.jsontype.impl
Subclasses of TypeDeserializer in com.fasterxml.jackson.databind.jsontype.impl Modifier and Type Class Description classAsArrayTypeDeserializerType deserializer used withJsonTypeInfo.As.WRAPPER_ARRAYinclusion mechanism.classAsExternalTypeDeserializerType deserializer used withJsonTypeInfo.As.EXTERNAL_PROPERTYinclusion mechanism.classAsPropertyTypeDeserializerType deserializer used withJsonTypeInfo.As.PROPERTYinclusion mechanism.classAsWrapperTypeDeserializerType deserializer used withJsonTypeInfo.As.WRAPPER_OBJECTinclusion mechanism.classTypeDeserializerBaseBase class for all standard JacksonTypeDeserializers.Methods in com.fasterxml.jackson.databind.jsontype.impl that return TypeDeserializer Modifier and Type Method Description TypeDeserializerStdTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes)TypeDeserializerAsArrayTypeDeserializer. forProperty(BeanProperty prop)TypeDeserializerAsExternalTypeDeserializer. forProperty(BeanProperty prop)TypeDeserializerAsPropertyTypeDeserializer. forProperty(BeanProperty prop)TypeDeserializerAsWrapperTypeDeserializer. forProperty(BeanProperty prop)abstract TypeDeserializerTypeDeserializerBase. forProperty(BeanProperty prop) -
Uses of TypeDeserializer in com.fasterxml.jackson.databind.module
-