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.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) . |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.type |
Modifier and Type | Method and Description |
---|---|
abstract JsonDeserializer<?> |
DeserializerFactory.createMapLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapLikeType type,
BeanProperty property) |
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). |
JsonDeserializer<?> |
Deserializers.Base.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeser,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapLikeType type,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
SimpleSerializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
all "Map-like" types; both ones that implement
Map and
ones that do not (but that have been indicated to behave like Maps). |
Modifier and Type | Class and Description |
---|---|
class |
MapType
Type that represents "true" Java Map types.
|
Modifier and Type | Method and Description |
---|---|
static MapLikeType |
MapLikeType.construct(Class<?> rawType,
JavaType keyT,
JavaType valueT) |
MapLikeType |
TypeFactory.constructMapLikeType(Class<?> mapClass,
Class<?> keyClass,
Class<?> valueClass)
Method for constructing a
MapLikeType instance |
MapLikeType |
TypeFactory.constructMapLikeType(Class<?> mapClass,
JavaType keyType,
JavaType valueType)
Method for constructing a
MapLikeType instance |
MapLikeType |
TypeFactory.constructRawMapLikeType(Class<?> mapClass)
Method that can be used to construct "raw" Map-like type; meaning that its
parameterization is unknown.
|
MapLikeType |
MapLikeType.withContentTypeHandler(Object h) |
MapLikeType |
MapLikeType.withContentValueHandler(Object h) |
MapLikeType |
MapLikeType.withKeyTypeHandler(Object h) |
MapLikeType |
MapLikeType.withKeyValueHandler(Object h) |
MapLikeType |
MapLikeType.withTypeHandler(Object h) |
MapLikeType |
MapLikeType.withValueHandler(Object h) |