程序包 | 说明 |
---|---|
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.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
限定符和类型 | 类和说明 |
---|---|
class |
DeserializationConfig
Object that contains baseline configuration for deserialization
process.
|
class |
MapperConfig<T extends MapperConfig<T>>
Interface that defines functionality accessible through both
serialization and deserialization configuration objects;
accessors to mode-independent configuration settings
and such.
|
class |
SerializationConfig
Object that contains baseline configuration for serialization
process.
|
限定符和类型 | 方法和说明 |
---|---|
T |
ClassIntrospector.forClassAnnotations(MapperConfig<?> cfg,
Class<?> cls,
ClassIntrospector.MixInResolver r)
已过时。
since 1.9, use variant that takes JavaType
|
abstract T |
ClassIntrospector.forClassAnnotations(MapperConfig<?> cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has
information regarding annotations class itself (or its supertypes) has,
but nothing on methods or constructors.
|
abstract T |
ClassIntrospector.forCreation(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has
information necessary for creating instances of given
class ("creator"), as well as class annotations, but
no information on member methods
|
abstract T |
ClassIntrospector.forDeserialization(DeserializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for deserialization purposes.
|
T |
ClassIntrospector.forDirectClassAnnotations(MapperConfig<?> cfg,
Class<?> cls,
ClassIntrospector.MixInResolver r)
已过时。
since 1.9, use variant that takes JavaType
|
abstract T |
ClassIntrospector.forDirectClassAnnotations(MapperConfig<?> cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has
information regarding annotations class itself has (but NOT including
its supertypes), but nothing on methods or constructors.
|
abstract T |
ClassIntrospector.forSerialization(SerializationConfig cfg,
JavaType type,
ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all
information needed for serialization purposes.
|
限定符和类型 | 字段和说明 |
---|---|
protected ClassIntrospector.MixInResolver |
AnnotatedClass._mixInResolver
Object that knows mapping of mix-in classes (ones that contain
annotations to add) with their target classes (ones that
get these additional annotations "mixed in").
|