程序包 | 说明 |
---|---|
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.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
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.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 方法和说明 |
---|---|
abstract AnnotatedParameter |
BeanPropertyDefinition.getConstructorParameter() |
限定符和类型 | 方法和说明 |
---|---|
abstract String |
AnnotationIntrospector.findPropertyNameForParam(AnnotatedParameter param)
Method for checking whether given set of annotations indicates
property name for associated parameter.
|
String |
AnnotationIntrospector.Pair.findPropertyNameForParam(AnnotatedParameter param) |
String |
PropertyNamingStrategy.nameForConstructorParameter(MapperConfig<?> config,
AnnotatedParameter ctorParam,
String defaultName)
Method called to find external name (name used in JSON) for given logical
POJO property,
as defined by given constructor parameter; typically called when building a deserializer
(but not necessarily only then).
|
String |
PropertyNamingStrategy.PropertyNamingStrategyBase.nameForConstructorParameter(MapperConfig<?> config,
AnnotatedParameter ctorParam,
String defaultName) |
限定符和类型 | 方法和说明 |
---|---|
protected CreatorProperty |
BeanDeserializerFactory.constructCreatorProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
int index,
AnnotatedParameter param,
Object injectableValueId)
Method that will construct a property object that represents
a logical property passed via Creator (constructor or static
factory method)
|
限定符和类型 | 字段和说明 |
---|---|
protected AnnotatedParameter |
CreatorProperty._annotated
Placeholder that represents constructor parameter, when it is created
from actual constructor.
|
构造器和说明 |
---|
CreatorProperty(String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedParameter param,
int index,
Object injectableValueId) |
限定符和类型 | 字段和说明 |
---|---|
protected org.codehaus.jackson.map.introspect.POJOPropertyBuilder.Node<AnnotatedParameter> |
POJOPropertyBuilder._ctorParameters |
限定符和类型 | 方法和说明 |
---|---|
AnnotatedParameter |
POJOPropertyBuilder.getConstructorParameter() |
AnnotatedParameter |
AnnotatedWithParams.getParameter(int index) |
protected AnnotatedParameter |
AnnotatedWithParams.replaceParameterAnnotations(int index,
AnnotationMap ann)
Method called by parameter object when an augmented instance is created;
needs to replace parameter with new instance
|
AnnotatedParameter |
AnnotatedParameter.withAnnotations(AnnotationMap ann) |
限定符和类型 | 方法和说明 |
---|---|
void |
POJOPropertyBuilder.addCtor(AnnotatedParameter a,
String ename,
boolean visible,
boolean ignored) |
String |
NopAnnotationIntrospector.findPropertyNameForParam(AnnotatedParameter param) |
String |
JacksonAnnotationIntrospector.findPropertyNameForParam(AnnotatedParameter param) |
限定符和类型 | 方法和说明 |
---|---|
String |
JaxbAnnotationIntrospector.findPropertyNameForParam(AnnotatedParameter param) |