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.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
Modifier and Type | Class and Description |
---|---|
class |
DeserializationConfig
Object that contains baseline configuration for deserialization
process.
|
class |
SerializationConfig
Object that contains baseline configuration for serialization
process.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setMixInResolver(ClassIntrospector.MixInResolver resolver)
Method that can be called to specify given resolver for locating
mix-in classes to use, overriding directly added mappings.
|
Modifier and Type | Class and Description |
---|---|
class |
MapperConfig<T extends MapperConfig<T>>
Interface that defines functionality accessible through both
serialization and deserialization configuration objects;
accessors to mode-independent configuration settings
and such.
|
class |
MapperConfigBase<CFG extends ConfigFeature,T extends MapperConfigBase<CFG,T>> |
Modifier and Type | Method and Description |
---|---|
ClassIntrospector.MixInResolver |
MapperConfigBase.copy() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleMixInResolver
Simple implementation of
ClassIntrospector.MixInResolver
that just uses a Map for containing mapping
from target to mix-in classes. |
Modifier and Type | Field and Description |
---|---|
protected ClassIntrospector.MixInResolver |
AnnotatedClass._mixInResolver
Object that knows mapping of mix-in classes (ones that contain
annotations to add) with their target classes (ones that
get these additional annotations "mixed in").
|
protected ClassIntrospector.MixInResolver |
SimpleMixInResolver._overrides
External resolver that gets called before looking at any locally defined
mix-in target classes.
|
Modifier and Type | Method and Description |
---|---|
ClassIntrospector.MixInResolver |
ClassIntrospector.MixInResolver.copy()
Method called to create a new, non-shared copy, to be used by different
ObjectMapper instance, and one that should not be connected
to this instance, if resolver has mutable state. |
Modifier and Type | Method and Description |
---|---|
protected AnnotatedClass |
BasicClassIntrospector._resolveAnnotatedClass(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r) |
protected AnnotatedClass |
BasicClassIntrospector._resolveAnnotatedWithoutSuperTypes(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r) |
static List<AnnotatedField> |
AnnotatedFieldCollector.collectFields(AnnotationIntrospector intr,
TypeResolutionContext tc,
ClassIntrospector.MixInResolver mixins,
TypeFactory types,
JavaType type) |
static AnnotatedMethodMap |
AnnotatedMethodCollector.collectMethods(AnnotationIntrospector intr,
TypeResolutionContext tc,
ClassIntrospector.MixInResolver mixins,
TypeFactory types,
JavaType type,
List<JavaType> superTypes,
Class<?> primaryMixIn) |
protected POJOPropertiesCollector |
BasicClassIntrospector.collectProperties(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r,
boolean forSerialization,
String mutatorPrefix) |
protected POJOPropertiesCollector |
BasicClassIntrospector.collectPropertiesWithBuilder(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r,
boolean forSerialization) |
static AnnotatedClass |
AnnotatedClass.construct(JavaType type,
MapperConfig<?> config,
ClassIntrospector.MixInResolver mir)
Deprecated.
Since 2.9, use methods in
AnnotatedClassResolver instead. |
static AnnotatedClass |
AnnotatedClass.constructWithoutSuperTypes(Class<?> raw,
MapperConfig<?> config,
ClassIntrospector.MixInResolver mir)
Deprecated.
Since 2.9, use methods in
AnnotatedClassResolver instead. |
abstract BeanDescription |
ClassIntrospector.forClassAnnotations(MapperConfig<?> cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has
information regarding annotations class itself (or its supertypes) has,
but nothing on methods or constructors.
|
BasicBeanDescription |
BasicClassIntrospector.forClassAnnotations(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r) |
abstract BeanDescription |
ClassIntrospector.forCreation(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
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 methods
|
BasicBeanDescription |
BasicClassIntrospector.forCreation(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
abstract BeanDescription |
ClassIntrospector.forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for deserialization purposes.
|
BasicBeanDescription |
BasicClassIntrospector.forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
abstract BeanDescription |
ClassIntrospector.forDeserializationWithBuilder(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for constructing deserializers that use
intermediate Builder objects.
|
BasicBeanDescription |
BasicClassIntrospector.forDeserializationWithBuilder(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
abstract BeanDescription |
ClassIntrospector.forDirectClassAnnotations(MapperConfig<?> cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has
information regarding annotations class itself has (but NOT including
its supertypes), but nothing on methods or constructors.
|
BasicBeanDescription |
BasicClassIntrospector.forDirectClassAnnotations(MapperConfig<?> config,
JavaType type,
ClassIntrospector.MixInResolver r) |
abstract BeanDescription |
ClassIntrospector.forSerialization(SerializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for serialization purposes.
|
BasicBeanDescription |
BasicClassIntrospector.forSerialization(SerializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r) |
static AnnotatedClass |
AnnotatedClassResolver.resolve(MapperConfig<?> config,
JavaType forType,
ClassIntrospector.MixInResolver r) |
static AnnotatedClass |
AnnotatedClassResolver.resolveWithoutSuperTypes(MapperConfig<?> config,
Class<?> forType,
ClassIntrospector.MixInResolver r) |
static AnnotatedClass |
AnnotatedClassResolver.resolveWithoutSuperTypes(MapperConfig<?> config,
JavaType forType,
ClassIntrospector.MixInResolver r) |
SimpleMixInResolver |
SimpleMixInResolver.withOverrides(ClassIntrospector.MixInResolver overrides)
Mutant factory for constructor a new resolver instance with given
mix-in resolver override.
|
Constructor and Description |
---|
SimpleMixInResolver(ClassIntrospector.MixInResolver overrides) |
SimpleMixInResolver(ClassIntrospector.MixInResolver overrides,
Map<ClassKey,Class<?>> mixins) |
Copyright © 2008–2018 FasterXML. All rights reserved.