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.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
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.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java type.
|
JsonDeserializer<?> |
Deserializers.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
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.
|
JsonSerializer<?> |
Serializers.Base.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected abstract JsonDeserializer<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider p,
BeanProperty property,
TypeDeserializer elementTypeDeser,
JsonDeserializer<?> elementDeser) |
protected JsonDeserializer<?> |
BeanDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
CustomDeserializerFactory.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property)
Deprecated.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createArrayDeserializer(DeserializationConfig config,
DeserializerProvider p,
ArrayType type,
BeanProperty property) |
Constructor and Description |
---|
ArrayDeserializer(ArrayType arrayType,
JsonDeserializer<java.lang.Object> elemDeser)
Deprecated.
|
ArrayDeserializer(ArrayType arrayType,
JsonDeserializer<java.lang.Object> elemDeser,
TypeDeserializer elemTypeDeser)
Deprecated.
|
Constructor and Description |
---|
ObjectArrayDeserializer(ArrayType arrayType,
JsonDeserializer<java.lang.Object> elemDeser,
TypeDeserializer elemTypeDeser) |
Modifier and Type | Method and Description |
---|---|
JsonDeserializer<?> |
SimpleDeserializers.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
DeserializerProvider provider,
BeanProperty property,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonSerializer<?> |
SimpleSerializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Object[] (and subtypes, except for String). |
Modifier and Type | Method and Description |
---|---|
static ArrayType |
ArrayType.construct(JavaType componentType)
Deprecated.
Since 1.9, if you must directly instantiate,
call method that takes handlers
|
static ArrayType |
ArrayType.construct(JavaType componentType,
java.lang.Object valueHandler,
java.lang.Object typeHandler) |
ArrayType |
TypeFactory.constructArrayType(java.lang.Class<?> elementType)
Method for constructing an
ArrayType . |
ArrayType |
TypeFactory.constructArrayType(JavaType elementType)
Method for constructing an
ArrayType . |
ArrayType |
ArrayType.withContentTypeHandler(java.lang.Object h) |
ArrayType |
ArrayType.withContentValueHandler(java.lang.Object h) |
ArrayType |
ArrayType.withTypeHandler(java.lang.Object h) |
ArrayType |
ArrayType.withValueHandler(java.lang.Object h) |