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.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
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.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
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 for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected static AnnotationIntrospector |
ObjectMapper.DEFAULT_ANNOTATION_INTROSPECTOR |
Modifier and Type | Method and Description |
---|---|
abstract AnnotationIntrospector |
DatabindContext.getAnnotationIntrospector()
Convenience method for accessing serialization view in use (if any); equivalent to:
|
AnnotationIntrospector |
SerializerProvider.getAnnotationIntrospector() |
AnnotationIntrospector |
DeserializationContext.getAnnotationIntrospector() |
static AnnotationIntrospector |
AnnotationIntrospector.nopInstance()
Factory method for accessing "no operation" implementation
of introspector: instance that will never find any annotation-based
configuration.
|
static AnnotationIntrospector |
AnnotationIntrospector.pair(AnnotationIntrospector a1,
AnnotationIntrospector a2) |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors()
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors(Collection<AnnotationIntrospector> result)
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.appendAnnotationIntrospector(AnnotationIntrospector ai)
Method for registering specified
AnnotationIntrospector as the lowest
priority introspector, chained with existing introspector(s) and called
as fallback for cases not otherwise handled. |
JsonFormat.Value |
BeanProperty.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
JsonFormat.Value |
BeanProperty.Std.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
JsonFormat.Value |
BeanProperty.Bogus.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
void |
Module.SetupContext.insertAnnotationIntrospector(AnnotationIntrospector ai)
Method for registering specified
AnnotationIntrospector as the highest
priority introspector (will be chained with existing introspector(s) which
will be used as fallbacks for cases this introspector does not handle) |
static AnnotationIntrospector |
AnnotationIntrospector.pair(AnnotationIntrospector a1,
AnnotationIntrospector a2) |
ObjectMapper |
ObjectMapper.setAnnotationIntrospector(AnnotationIntrospector ai)
Method for setting
AnnotationIntrospector used by this
mapper instance for both serialization and deserialization. |
ObjectMapper |
ObjectMapper.setAnnotationIntrospectors(AnnotationIntrospector serializerAI,
AnnotationIntrospector deserializerAI)
Method for changing
AnnotationIntrospector instances used
by this mapper instance for serialization and deserialization,
specifying them separately so that different introspection can be
used for different aspects |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors(Collection<AnnotationIntrospector> result)
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
BaseSettings._annotationIntrospector
Introspector used for accessing annotation value based configuration.
|
Modifier and Type | Method and Description |
---|---|
AnnotationIntrospector |
MapperConfig.getAnnotationIntrospector()
Method for getting
AnnotationIntrospector configured
to introspect annotation values used for configuration. |
AnnotationIntrospector |
BaseSettings.getAnnotationIntrospector() |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.annotationIntrospector(AnnotationIntrospector intr)
Method for replacing
AnnotationIntrospector used by the
mapper instance to be built. |
T |
MapperConfigBase.with(AnnotationIntrospector ai)
Method for constructing and returning a new instance with different
AnnotationIntrospector to use (replacing old one). |
BaseSettings |
BaseSettings.withAnnotationIntrospector(AnnotationIntrospector ai) |
T |
MapperConfigBase.withAppendedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
AnnotationIntrospector appended (as the lowest priority one) |
BaseSettings |
BaseSettings.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
T |
MapperConfigBase.withInsertedAnnotationIntrospector(AnnotationIntrospector ai)
Method for constructing and returning a new instance with additional
AnnotationIntrospector inserted (as the highest priority one) |
BaseSettings |
BaseSettings.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
Constructor and Description |
---|
BaseSettings(ClassIntrospector ci,
AnnotationIntrospector ai,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64)
Deprecated.
|
BaseSettings(ClassIntrospector ci,
AnnotationIntrospector ai,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64,
PolymorphicTypeValidator ptv) |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
CreatorCandidate._intr |
Modifier and Type | Method and Description |
---|---|
static CreatorCandidate |
CreatorCandidate.construct(AnnotationIntrospector intr,
AnnotatedWithParams creator,
BeanPropertyDefinition[] propDefs) |
Constructor and Description |
---|
CreatorCandidate(AnnotationIntrospector intr,
AnnotatedWithParams ct,
CreatorCandidate.Param[] params,
int count) |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationIntrospectorPair
Helper class that allows using 2 introspectors such that one
introspector acts as the primary one to use; and second one
as a fallback used if the primary does not provide conclusive
or useful result for a method.
|
class |
JacksonAnnotationIntrospector
AnnotationIntrospector implementation that handles standard
Jackson annotations. |
class |
NopAnnotationIntrospector
Dummy, "no-operation" implementation of
AnnotationIntrospector . |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
POJOPropertiesCollector._annotationIntrospector |
protected AnnotationIntrospector |
POJOPropertyBuilder._annotationIntrospector |
protected AnnotationIntrospector |
BasicBeanDescription._annotationIntrospector |
protected AnnotationIntrospector |
AnnotatedClass._annotationIntrospector
Filter used to determine which annotations to gather; used
to optimize things so that unnecessary annotations are
ignored.
|
protected AnnotationIntrospector |
AnnotationIntrospectorPair._primary |
protected AnnotationIntrospector |
AnnotationIntrospectorPair._secondary |
Modifier and Type | Method and Description |
---|---|
static AnnotationIntrospector |
AnnotationIntrospectorPair.create(AnnotationIntrospector primary,
AnnotationIntrospector secondary)
Helper method for constructing a Pair from two given introspectors (if
neither is null); or returning non-null introspector if one is null
(and return just null if both are null)
|
AnnotationIntrospector |
POJOPropertiesCollector.getAnnotationIntrospector() |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors() |
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors(Collection<AnnotationIntrospector> result) |
Modifier and Type | Method and Description |
---|---|
protected void |
POJOPropertiesCollector._addGetterMethod(Map<String,POJOPropertyBuilder> props,
AnnotatedMethod m,
AnnotationIntrospector ai) |
protected void |
POJOPropertiesCollector._addSetterMethod(Map<String,POJOPropertyBuilder> props,
AnnotatedMethod m,
AnnotationIntrospector ai) |
static List<AnnotatedField> |
AnnotatedFieldCollector.collectFields(AnnotationIntrospector intr,
TypeResolutionContext tc,
ClassIntrospector.MixInResolver mixins,
TypeFactory types,
JavaType type,
boolean collectAnnotations) |
static AnnotatedMethodMap |
AnnotatedMethodCollector.collectMethods(AnnotationIntrospector intr,
TypeResolutionContext tc,
ClassIntrospector.MixInResolver mixins,
TypeFactory types,
JavaType type,
List<JavaType> superTypes,
Class<?> primaryMixIn,
boolean collectAnnotations) |
static AnnotationIntrospector |
AnnotationIntrospectorPair.create(AnnotationIntrospector primary,
AnnotationIntrospector secondary)
Helper method for constructing a Pair from two given introspectors (if
neither is null); or returning non-null introspector if one is null
(and return just null if both are null)
|
JsonFormat.Value |
ConcreteBeanPropertyBase.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors(Collection<AnnotationIntrospector> result) |
Constructor and Description |
---|
AnnotationIntrospectorPair(AnnotationIntrospector p,
AnnotationIntrospector s) |
POJOPropertyBuilder(MapperConfig<?> config,
AnnotationIntrospector ai,
boolean forSerialization,
PropertyName internalName) |
POJOPropertyBuilder(MapperConfig<?> config,
AnnotationIntrospector ai,
boolean forSerialization,
PropertyName internalName,
PropertyName name) |
Modifier and Type | Method and Description |
---|---|
Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypes(AnnotatedClass baseType,
MapperConfig<?> config,
AnnotationIntrospector ai)
Deprecated.
|
Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
StdSubtypeResolver._collectAndResolve(AnnotatedClass annotatedType,
NamedType namedType,
MapperConfig<?> config,
AnnotationIntrospector ai,
HashMap<NamedType,NamedType> collectedSubtypes)
Method called to find subtypes for a specific type (class), using
type (class) as the unique key (in case of conflicts).
|
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
PropertyBuilder._annotationIntrospector |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
SimpleBeanPropertyDefinition._annotationIntrospector |
Modifier and Type | Method and Description |
---|---|
static EnumResolver |
EnumResolver.constructFor(Class<Enum<?>> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.name() into
Enum value
|
static EnumResolver |
EnumResolver.constructUnsafe(Class<?> rawEnumCls,
AnnotationIntrospector ai)
This method is needed because of the dynamic nature of constructing Enum
resolvers.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingMethod(Class<?> rawEnumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai)
Method used when actual String serialization is indicated using @JsonValue
on a method.
|
static EnumResolver |
EnumResolver.constructUnsafeUsingToString(Class<?> rawEnumCls,
AnnotationIntrospector ai)
Method that needs to be used instead of
EnumResolver.constructUsingToString(java.lang.Class<java.lang.Enum<?>>)
if static type of enum is not known. |
static EnumResolver |
EnumResolver.constructUsingMethod(Class<Enum<?>> enumCls,
AnnotatedMember accessor,
AnnotationIntrospector ai) |
static EnumResolver |
EnumResolver.constructUsingToString(Class<Enum<?>> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.toString() into
Enum value
|
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotationIntrospector intr,
AnnotatedMember member,
PropertyName fullName,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
Copyright © 2008–2020 FasterXML. All rights reserved.