程序包 | 说明 |
---|---|
org.codehaus.jackson.annotate |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
org.codehaus.jackson.map.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
限定符和类型 | 方法和说明 |
---|---|
static JsonTypeInfo.Id |
JsonTypeInfo.Id.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JsonTypeInfo.Id[] |
JsonTypeInfo.Id.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
JsonTypeInfo.Id |
TypeIdResolver.getMechanism()
Accessor for mechanism that this resolver uses for determining
type id from type.
|
限定符和类型 | 方法和说明 |
---|---|
T |
TypeResolverBuilder.init(JsonTypeInfo.Id idType,
TypeIdResolver res)
Initialization method that is called right after constructing
the builder instance.
|
限定符和类型 | 字段和说明 |
---|---|
protected JsonTypeInfo.Id |
StdTypeResolverBuilder._idType |
限定符和类型 | 方法和说明 |
---|---|
JsonTypeInfo.Id |
TypeNameIdResolver.getMechanism() |
JsonTypeInfo.Id |
MinimalClassNameIdResolver.getMechanism() |
JsonTypeInfo.Id |
ClassNameIdResolver.getMechanism() |
限定符和类型 | 方法和说明 |
---|---|
StdTypeResolverBuilder |
StdTypeResolverBuilder.init(JsonTypeInfo.Id idType,
TypeIdResolver idRes) |