程序包 | 说明 |
---|---|
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.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
限定符和类型 | 类和说明 |
---|---|
static class |
ObjectMapper.DefaultTypeResolverBuilder
Customized
TypeResolverBuilder that provides type resolver builders
used with so-called "default typing"
(see ObjectMapper.enableDefaultTyping() for details). |
限定符和类型 | 方法和说明 |
---|---|
protected StdTypeResolverBuilder |
JacksonAnnotationIntrospector._constructNoTypeResolverBuilder()
Helper method for dealing with "no type info" marker; can't be null
(as it'd be replaced by default typing)
|
protected StdTypeResolverBuilder |
JacksonAnnotationIntrospector._constructStdTypeResolverBuilder()
Helper method for constructing standard
TypeResolverBuilder
implementation. |
限定符和类型 | 方法和说明 |
---|---|
StdTypeResolverBuilder |
StdTypeResolverBuilder.defaultImpl(Class<?> defaultImpl) |
StdTypeResolverBuilder |
StdTypeResolverBuilder.inclusion(JsonTypeInfo.As includeAs) |
StdTypeResolverBuilder |
StdTypeResolverBuilder.init(JsonTypeInfo.Id idType,
TypeIdResolver idRes) |
static StdTypeResolverBuilder |
StdTypeResolverBuilder.noTypeInfoBuilder() |
StdTypeResolverBuilder |
StdTypeResolverBuilder.typeProperty(String typeIdPropName)
Method for constructing an instance with specified type property name
(property name to use for type id when using "as-property" inclusion).
|