程序包 | 说明 |
---|---|
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.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 AnnotatedField |
BeanPropertyDefinition.getField() |
限定符和类型 | 方法和说明 |
---|---|
abstract LinkedHashMap<String,AnnotatedField> |
BeanDescription.findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use
BeanDescription.findProperties() |
abstract Map<String,AnnotatedField> |
BeanDescription.findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties)
已过时。
Since 1.9 use the non-deprecated version
|
限定符和类型 | 方法和说明 |
---|---|
abstract String |
AnnotationIntrospector.findDeserializablePropertyName(AnnotatedField af)
Method for checking whether given member field represent
a deserializable logical property; and if so, returns the
name of that property.
|
String |
AnnotationIntrospector.Pair.findDeserializablePropertyName(AnnotatedField af) |
abstract String |
AnnotationIntrospector.findSerializablePropertyName(AnnotatedField af)
Method for checking whether given member field represent
a serializable logical property; and if so, returns the
name of that property.
|
String |
AnnotationIntrospector.Pair.findSerializablePropertyName(AnnotatedField af) |
abstract boolean |
AnnotationIntrospector.isIgnorableField(AnnotatedField f)
Method for checking whether there is an annotation that
indicates that given field should be ignored for all
operations (serialization, deserialization).
|
boolean |
AnnotationIntrospector.Pair.isIgnorableField(AnnotatedField f) |
String |
PropertyNamingStrategy.nameForField(MapperConfig<?> config,
AnnotatedField field,
String defaultName)
Method called to find external name (name used in JSON) for given logical
POJO property,
as defined by given field.
|
String |
PropertyNamingStrategy.PropertyNamingStrategyBase.nameForField(MapperConfig<?> config,
AnnotatedField field,
String defaultName) |
限定符和类型 | 字段和说明 |
---|---|
protected AnnotatedField |
SettableBeanProperty.FieldProperty._annotated |
限定符和类型 | 方法和说明 |
---|---|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedField field) |
构造器和说明 |
---|
SettableBeanProperty.FieldProperty(String name,
JavaType type,
TypeDeserializer typeDeser,
Annotations contextAnnotations,
AnnotatedField field) |
限定符和类型 | 字段和说明 |
---|---|
protected org.codehaus.jackson.map.introspect.POJOPropertyBuilder.Node<AnnotatedField> |
POJOPropertyBuilder._fields |
protected List<AnnotatedField> |
AnnotatedClass._fields
Member fields of interest: ones that are either public,
or have at least one annotation.
|
限定符和类型 | 方法和说明 |
---|---|
protected AnnotatedField |
AnnotatedClass._constructField(Field f) |
AnnotatedField |
POJOPropertyBuilder.getField() |
AnnotatedField |
AnnotatedField.withAnnotations(AnnotationMap ann) |
限定符和类型 | 方法和说明 |
---|---|
LinkedHashMap<String,AnnotatedField> |
BasicBeanDescription._findPropertyFields(Collection<String> ignoredProperties,
boolean forSerialization) |
Iterable<AnnotatedField> |
AnnotatedClass.fields() |
LinkedHashMap<String,AnnotatedField> |
BasicBeanDescription.findDeserializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties) |
LinkedHashMap<String,AnnotatedField> |
BasicBeanDescription.findSerializableFields(VisibilityChecker<?> visibilityChecker,
Collection<String> ignoredProperties) |
限定符和类型 | 方法和说明 |
---|---|
void |
POJOPropertyBuilder.addField(AnnotatedField a,
String ename,
boolean visible,
boolean ignored) |
String |
NopAnnotationIntrospector.findDeserializablePropertyName(AnnotatedField af) |
String |
JacksonAnnotationIntrospector.findDeserializablePropertyName(AnnotatedField af) |
String |
NopAnnotationIntrospector.findSerializablePropertyName(AnnotatedField af) |
String |
JacksonAnnotationIntrospector.findSerializablePropertyName(AnnotatedField af) |
boolean |
VisibilityChecker.isFieldVisible(AnnotatedField f) |
boolean |
VisibilityChecker.Std.isFieldVisible(AnnotatedField f) |
boolean |
NopAnnotationIntrospector.isIgnorableField(AnnotatedField f) |
boolean |
JacksonAnnotationIntrospector.isIgnorableField(AnnotatedField f) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
AnnotatedClass._addFieldMixIns(Class<?> targetClass,
Class<?> mixInCls,
Map<String,AnnotatedField> fields)
Method called to add field mix-ins from given mix-in class (and its fields)
into already collected actual fields (from introspected classes and their
super-classes)
|
protected void |
AnnotatedClass._addFields(Map<String,AnnotatedField> fields,
Class<?> c) |
限定符和类型 | 方法和说明 |
---|---|
String |
JaxbAnnotationIntrospector.findDeserializablePropertyName(AnnotatedField af) |
String |
JaxbAnnotationIntrospector.findSerializablePropertyName(AnnotatedField af) |
boolean |
JaxbAnnotationIntrospector.isIgnorableField(AnnotatedField f) |