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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
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 |
Package that contains concrete implementations of
JavaType , as
well as the factory (TypeFactory ) for
constructing instances from various input data types
(like Class , Type )
and programmatically (for structured types, arrays,
List s and Map s). |
Modifier and Type | Method and Description |
---|---|
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionLikeType type,
BeanProperty property) |
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). |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
Serializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionLikeType type,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Collection and Collection-like types.
|
Modifier and Type | Class and Description |
---|---|
class |
CollectionType
Type that represents Java Collection types (Lists, Sets).
|
Modifier and Type | Method and Description |
---|---|
static CollectionLikeType |
CollectionLikeType.construct(java.lang.Class<?> rawType,
JavaType elemT) |
CollectionLikeType |
TypeFactory.constructCollectionLikeType(java.lang.Class<?> collectionClass,
java.lang.Class<?> elementClass)
Method for constructing a
CollectionLikeType . |
CollectionLikeType |
TypeFactory.constructCollectionLikeType(java.lang.Class<?> collectionClass,
JavaType elementType)
Method for constructing a
CollectionLikeType . |
CollectionLikeType |
TypeFactory.constructRawCollectionLikeType(java.lang.Class<?> collectionClass)
Method that can be used to construct "raw" Collection-like type; meaning that its
parameterization is unknown.
|
CollectionLikeType |
CollectionLikeType.withContentTypeHandler(java.lang.Object h) |
CollectionLikeType |
CollectionLikeType.withContentValueHandler(java.lang.Object h) |
CollectionLikeType |
CollectionLikeType.withTypeHandler(java.lang.Object h) |
CollectionLikeType |
CollectionLikeType.withValueHandler(java.lang.Object h) |