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.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 |
---|---|
AnnotationIntrospector |
SerializerProvider.getAnnotationIntrospector() |
AnnotationIntrospector |
SerializationConfig.getAnnotationIntrospector() |
AnnotationIntrospector |
DeserializationContext.getAnnotationIntrospector() |
AnnotationIntrospector |
DeserializationConfig.getAnnotationIntrospector()
Method for getting
AnnotationIntrospector configured
to introspect annotation values used for configuration. |
abstract AnnotationIntrospector |
DatabindContext.getAnnotationIntrospector()
Convenience method for accessing serialization view in use (if any); equivalent to:
|
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)
Convenience method that is roughly equivalent to
|
JsonFormat.Value |
BeanProperty.Std.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 |
SerializationConfig |
SerializationConfig.with(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.with(AnnotationIntrospector ai) |
SerializationConfig |
SerializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
SerializationConfig |
SerializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
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 |
---|---|
abstract 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) |
abstract T |
MapperConfigBase.withAppendedAnnotationIntrospector(AnnotationIntrospector introspector)
Method for constructing and returning a new instance with additional
AnnotationIntrospector appended (as the lowest priority one) |
BaseSettings |
BaseSettings.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
abstract T |
MapperConfigBase.withInsertedAnnotationIntrospector(AnnotationIntrospector introspector)
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,
VisibilityChecker<?> vc,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64) |
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 |
POJOPropertyBuilder._annotationIntrospector |
protected AnnotationIntrospector |
POJOPropertiesCollector._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 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 |
---|---|
abstract Collection<NamedType> |
SubtypeResolver.collectAndResolveSubtypes(AnnotatedClass baseType,
MapperConfig<?> config,
AnnotationIntrospector ai)
Deprecated.
|
abstract 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).
|
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypes(AnnotatedClass type,
MapperConfig<?> config,
AnnotationIntrospector ai)
Deprecated.
|
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
PropertyBuilder._annotationIntrospector |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
SimpleBeanPropertyDefinition._introspector |
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.
|
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
SimpleBeanPropertyDefinition(AnnotatedMember member,
String name,
AnnotationIntrospector intr)
Deprecated.
Since 2.5 Use variant that takes PropertyName
|
Copyright © 2008–2016 FasterXML. All rights reserved.