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.createMapDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapType type,
BeanProperty property) |
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.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeser,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapDeserializer(DeserializationConfig config,
DeserializerProvider p,
MapType type,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
SimpleSerializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType 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
Map types. |
Modifier and Type | Method and Description |
---|---|
static MapType |
MapType.construct(Class<?> rawType,
JavaType keyT,
JavaType valueT) |
MapType |
TypeFactory.constructMapType(Class<? extends Map> mapClass,
Class<?> keyClass,
Class<?> valueClass)
Method for constructing a
MapType instance |
MapType |
TypeFactory.constructMapType(Class<? extends Map> mapClass,
JavaType keyType,
JavaType valueType)
Method for constructing a
MapType instance |
MapType |
TypeFactory.constructRawMapType(Class<? extends Map> mapClass)
Method that can be used to construct "raw" Map type; meaning that its
parameterization is unknown.
|
MapType |
MapType.withContentTypeHandler(Object h) |
MapType |
MapType.withContentValueHandler(Object h) |
MapType |
MapType.withKeyTypeHandler(Object h) |
MapType |
MapType.withKeyValueHandler(Object h) |
MapType |
MapType.withTypeHandler(Object h) |
MapType |
MapType.withValueHandler(Object h) |