Package | Description |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.map.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
Modifier and Type | Class | Description |
---|---|---|
class |
ClassIntrospector<T extends BeanDescription> |
Helper class used to introspect features of POJO value classes
used with Jackson.
|
Modifier and Type | Field | Description |
---|---|---|
protected ClassIntrospector<? extends BeanDescription> |
MapperConfig.Base._classIntrospector |
Introspector used to figure out Bean properties needed for bean serialization
and deserialization.
|
protected static ClassIntrospector<? extends BeanDescription> |
ObjectMapper.DEFAULT_INTROSPECTOR |
Modifier and Type | Method | Description |
---|---|---|
<T extends BeanDescription> |
DeserializationConfig.introspect(JavaType type) |
Method that will introspect full bean properties for the purpose
of building a bean deserializer
|
<T extends BeanDescription> |
SerializationConfig.introspect(JavaType type) |
Method that will introspect full bean properties for the purpose
of building a bean serializer
|
<T extends BeanDescription> |
DeserializationConfig.introspectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains class
annotations: useful if no getter/setter/creator information is needed.
|
<DESC extends BeanDescription> |
MapperConfig.introspectClassAnnotations(java.lang.Class<?> cls) |
Accessor for getting bean description that only contains class
annotations: useful if no getter/setter/creator information is needed.
|
abstract <DESC extends BeanDescription> |
MapperConfig.introspectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains class
annotations: useful if no getter/setter/creator information is needed.
|
<T extends BeanDescription> |
SerializationConfig.introspectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains class
annotations: useful if no getter/setter/creator information is needed.
|
<T extends BeanDescription> |
DeserializationConfig.introspectDirectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains immediate class
annotations: ones from the class, and its direct mix-in, if any, but
not from super types.
|
<DESC extends BeanDescription> |
MapperConfig.introspectDirectClassAnnotations(java.lang.Class<?> cls) |
Accessor for getting bean description that only contains immediate class
annotations: ones from the class, and its direct mix-in, if any, but
not from super types.
|
abstract <DESC extends BeanDescription> |
MapperConfig.introspectDirectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains immediate class
annotations: ones from the class, and its direct mix-in, if any, but
not from super types.
|
<T extends BeanDescription> |
SerializationConfig.introspectDirectClassAnnotations(JavaType type) |
Accessor for getting bean description that only contains immediate class
annotations: ones from the class, and its direct mix-in, if any, but
not from super types.
|
<T extends BeanDescription> |
DeserializationConfig.introspectForCreation(JavaType type) |
Method that will introspect subset of bean properties needed to
construct bean instance.
|
Modifier and Type | Method | Description |
---|---|---|
ClassIntrospector<? extends BeanDescription> |
MapperConfig.Base.getClassIntrospector() |
|
ClassIntrospector<? extends BeanDescription> |
MapperConfig.getClassIntrospector() |
Modifier and Type | Method | Description |
---|---|---|
JsonSerializer<?> |
Serializers.Base.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Method called by serialization framework first time a serializer is needed for
specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findBeanDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property) |
|
JsonDeserializer<?> |
Deserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property) |
Method called to locate deserializer for specified value type which does not belong to any other
category (not an Enum, Collection, Map, Array or tree node)
|
JsonDeserializer<?> |
Deserializers.Base.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
|
JsonDeserializer<?> |
Deserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
Method called to locate serializer for specified
Collection (List, Set etc) type. |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
|
JsonDeserializer<?> |
Deserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
Method called to locate serializer for specified
"Collection-like" type (one that acts
like
Collection but does not implement it). |
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.Base.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonDeserializer<?> |
Deserializers.Base.findEnumDeserializer(java.lang.Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
|
JsonDeserializer<?> |
Deserializers.findEnumDeserializer(java.lang.Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
Method called to locate deserializer for specified
Enum type. |
KeyDeserializer |
KeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc,
BeanProperty property) |
|
JsonDeserializer<?> |
Deserializers.Base.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
|
JsonDeserializer<?> |
Deserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
Method called to locate deserializer for specified
Map type. |
JsonDeserializer<?> |
Deserializers.Base.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
|
JsonDeserializer<?> |
Deserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
Method called to locate serializer for specified
"Map-like" type (one that acts
like
Map but does not implement it). |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
|
JsonSerializer<?> |
Serializers.Base.findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
BeanProperty property) |
|
JsonSerializer<?> |
Serializers.findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
BeanProperty property) |
Method called by serialization framework first time a serializer is needed for
specified type, which is not of a container type (for which other methods are
called).
|
Modifier and Type | Method | Description |
---|---|---|
DeserializationConfig |
DeserializationConfig.withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci) |
|
MapperConfig.Base |
MapperConfig.Base.withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci) |
|
abstract T |
MapperConfig.withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci) |
Method for constructing and returning a new instance with different
ClassIntrospector
to use. |
SerializationConfig |
SerializationConfig.withClassIntrospector(ClassIntrospector<? extends BeanDescription> ci) |
Modifier and Type | Method | Description |
---|---|---|
ValueInstantiator |
ValueInstantiators.Base.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
|
ValueInstantiator |
ValueInstantiators.findValueInstantiator(DeserializationConfig config,
BeanDescription beanDesc,
ValueInstantiator defaultInstantiator) |
Method called to find the
ValueInstantiator to use for creating
instances of specified type during deserialization. |
Constructor | Description |
---|---|
BeanDeserializer(BeanDescription beanDesc,
BeanProperty property,
ValueInstantiator valueInstantiator,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter,
java.util.List<ValueInjector> injectables) |
Modifier and Type | Class | Description |
---|---|---|
class |
BasicBeanDescription |
Default
BeanDescription implementation. |