Package com.fasterxml.jackson.databind.jsontype.impl
package com.fasterxml.jackson.databind.jsontype.impl
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.-
ClassesClassDescriptionType deserializer used with
JsonTypeInfo.As.WRAPPER_ARRAY
inclusion mechanism.Type serializer that will embed type information in an array, as the first element, and actual value as the second element.ATypeDeserializer
capable of deducing polymorphic types based on the fields available.Type serializer used withJsonTypeInfo.As.EXISTING_PROPERTY
inclusion mechanism.Type deserializer used withJsonTypeInfo.As.EXTERNAL_PROPERTY
inclusion mechanism.Type serializer that preferably embeds type information as an "external" type property; embedded in enclosing JSON object.Type deserializer used withJsonTypeInfo.As.PROPERTY
inclusion mechanism.Type serializer that preferably embeds type information as an additional JSON Object property, if possible (when resulting serialization would use JSON Object).Type deserializer used withJsonTypeInfo.As.WRAPPER_OBJECT
inclusion mechanism.Type wrapper that tries to use an extra JSON Object, with a single entry that has type name as key, to serialize type information.TypeIdResolver
implementation that converts between fully-qualified Java class names and (JSON) Strings.DefaultPolymorphicTypeValidator
used unless explicit one is constructed (and, in 2.11,MapperFeature.BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES
not enabled).Specialization ofClassNameIdResolver
that instead uses a "minimal" derivation ofClass
name, using relative reference from the base type (base class) that polymorphic value has.TypeIdResolver
implementation that converts using explicitly (annotation-) specified type names and maps to implementation classes; or, in absence of annotated type name, defaults to simpleClass
names (obtained withClass.getSimpleName()
.StandardSubtypeResolver
implementation.DefaultTypeResolverBuilder
implementation.Helper class used to encapsulate rules that determine subtypes that are invalid to use, even with default typing, mostly due to security concerns.Base class for all standard JacksonTypeDeserializer
s.Partial base implementation ofTypeIdResolver
: all custom implementations are strongly recommended to extend this class, instead of directly implementingTypeIdResolver
.TypeIdResolver
implementation that converts using explicitly (annotation-) specified type names and maps to implementation classes; or, in absence of annotated type name, defaults to fully-qualifiedClass
names (obtained withClass.getName()