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.createCollectionDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionType type,
BeanProperty property) |
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.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
Serializers.findCollectionSerializer(SerializationConfig config,
CollectionType 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) |
Modifier and Type | Method and Description |
---|---|
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider p,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BasicBeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionDeserializer(DeserializationConfig config,
DeserializerProvider p,
CollectionType type,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanDescription beanDesc,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
List types that support efficient by-index access
Note: signature changed in 1.8, to take 'staticTyping' argument |
Modifier and Type | Method and Description |
---|---|
static CollectionType |
CollectionType.construct(java.lang.Class<?> rawType,
JavaType elemT) |
CollectionType |
TypeFactory.constructCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass,
java.lang.Class<?> elementClass)
Method for constructing a
CollectionType . |
CollectionType |
TypeFactory.constructCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass,
JavaType elementType)
Method for constructing a
CollectionType . |
CollectionType |
TypeFactory.constructRawCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass)
Method that can be used to construct "raw" Collection type; meaning that its
parameterization is unknown.
|
CollectionType |
CollectionType.withContentTypeHandler(java.lang.Object h) |
CollectionType |
CollectionType.withContentValueHandler(java.lang.Object h) |
CollectionType |
CollectionType.withTypeHandler(java.lang.Object h) |
CollectionType |
CollectionType.withValueHandler(java.lang.Object h) |