| Package | Description |
|---|---|
| org.codehaus.jackson.jaxrs |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
| 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
Modules
(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,
Lists and Maps). |
| org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.HashSet<ClassKey> |
JacksonJsonProvider._cfgCustomUntouchables |
Set of types (classes) that provider should ignore for data binding
|
static java.util.HashSet<ClassKey> |
JacksonJsonProvider._untouchables |
Looks like we need to worry about accidental
data binding for types we shouldn't be handling.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected static boolean |
JacksonJsonProvider._containedIn(java.lang.Class<?> mainType,
java.util.HashSet<ClassKey> set) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.HashMap<ClassKey,java.lang.Class<?>> |
MapperConfig._mixInAnnotations |
Mapping that defines how to apply mix-in annotations: key is
the type to received additional annotations, and value is the
type that has annotations to "mix in".
|
| Constructor | Description |
|---|---|
SerializationConfig(SerializationConfig src,
java.util.HashMap<ClassKey,java.lang.Class<?>> mixins,
SubtypeResolver str) |
Constructor used to make a private copy of specific mix-in definitions.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.HashMap<ClassKey,JsonDeserializer<java.lang.Object>> |
CustomDeserializerFactory._directClassMappings |
Deprecated.
Direct mappings that are used for exact class and interface type
matches.
|
protected java.util.HashMap<ClassKey,java.lang.Class<?>> |
CustomDeserializerFactory._mixInAnnotations |
Deprecated.
Mapping that defines how to apply mix-in annotations: key is
the type to received additional annotations, and value is the
type that has annotations to "mix in".
|
protected java.util.HashMap<ClassKey,JsonDeserializer<java.lang.Object>> |
BeanDeserializer._subDeserializers |
Lazily constructed map used to contain deserializers needed
for polymorphic subtypes.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.HashMap<ClassKey,JsonDeserializer<?>> |
SimpleDeserializers._classMappings |
|
protected java.util.HashMap<ClassKey,KeyDeserializer> |
SimpleKeyDeserializers._classMappings |
|
protected java.util.HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._classMappings |
Class-based mappings that are used both for exact and
sub-class matches.
|
protected java.util.HashMap<ClassKey,ValueInstantiator> |
SimpleValueInstantiators._classMappings |
Mappings from raw (type-erased, i.e.
|
protected java.util.HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._interfaceMappings |
Interface-based matches.
|
protected java.util.HashMap<ClassKey,java.lang.Class<?>> |
SimpleAbstractTypeResolver._mappings |
Mappings from super types to subtypes
|
| Modifier and Type | Method | Description |
|---|---|---|
protected JsonSerializer<?> |
SimpleSerializers._findInterfaceMapping(java.lang.Class<?> cls,
ClassKey key) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._directClassMappings |
Direct mappings that are only used for exact class type
matches, but not for sub-class checks.
|
protected java.util.HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._interfaceMappings |
And finally interface-based matches.
|
protected java.util.HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._transitiveClassMappings |
And then class-based mappings that are used both for exact and
sub-class matches.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected JsonSerializer<?> |
CustomSerializerFactory._findInterfaceMapping(java.lang.Class<?> cls,
ClassKey key) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
ClassKey.compareTo(ClassKey other) |
| Modifier and Type | Field | Description |
|---|---|---|
protected LRUMap<ClassKey,SerializedString> |
RootNameLookup._rootNames |
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|