程序包 | 说明 |
---|---|
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
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 | |
org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
限定符和类型 | 字段和说明 |
---|---|
protected HashSet<ClassKey> |
JacksonJsonProvider._cfgCustomUntouchables
Set of types (classes) that provider should ignore for data binding
|
static HashSet<ClassKey> |
JacksonJsonProvider._untouchables
Looks like we need to worry about accidental
data binding for types we shouldn't be handling.
|
限定符和类型 | 方法和说明 |
---|---|
protected static boolean |
JacksonJsonProvider._containedIn(Class<?> mainType,
HashSet<ClassKey> set) |
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<ClassKey,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".
|
构造器和说明 |
---|
SerializationConfig(SerializationConfig src,
HashMap<ClassKey,Class<?>> mixins,
SubtypeResolver str)
Constructor used to make a private copy of specific mix-in definitions.
|
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<ClassKey,JsonDeserializer<Object>> |
CustomDeserializerFactory._directClassMappings
已过时。
Direct mappings that are used for exact class and interface type
matches.
|
protected HashMap<ClassKey,Class<?>> |
CustomDeserializerFactory._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".
|
protected HashMap<ClassKey,JsonDeserializer<Object>> |
BeanDeserializer._subDeserializers
Lazily constructed map used to contain deserializers needed
for polymorphic subtypes.
|
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<ClassKey,ValueInstantiator> |
SimpleValueInstantiators._classMappings
Mappings from raw (type-erased, i.e. non-generic) types
to matching
ValueInstantiator instances. |
protected HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._classMappings
Class-based mappings that are used both for exact and
sub-class matches.
|
protected HashMap<ClassKey,KeyDeserializer> |
SimpleKeyDeserializers._classMappings |
protected HashMap<ClassKey,JsonDeserializer<?>> |
SimpleDeserializers._classMappings |
protected HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._interfaceMappings
Interface-based matches.
|
protected HashMap<ClassKey,Class<?>> |
SimpleAbstractTypeResolver._mappings
Mappings from super types to subtypes
|
限定符和类型 | 方法和说明 |
---|---|
protected JsonSerializer<?> |
SimpleSerializers._findInterfaceMapping(Class<?> cls,
ClassKey key) |
限定符和类型 | 字段和说明 |
---|---|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._directClassMappings
Direct mappings that are only used for exact class type
matches, but not for sub-class checks.
|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._interfaceMappings
And finally interface-based matches.
|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._transitiveClassMappings
And then class-based mappings that are used both for exact and
sub-class matches.
|
限定符和类型 | 方法和说明 |
---|---|
protected JsonSerializer<?> |
CustomSerializerFactory._findInterfaceMapping(Class<?> cls,
ClassKey key) |
限定符和类型 | 方法和说明 |
---|---|
int |
ClassKey.compareTo(ClassKey other) |
限定符和类型 | 字段和说明 |
---|---|
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.
|