Package | Description |
---|---|
org.codehaus.jackson.annotate |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
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 |
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 . |
Modifier and Type | Method and Description |
---|---|
static JsonTypeInfo.As |
JsonTypeInfo.As.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonTypeInfo.As[] |
JsonTypeInfo.As.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonTypeInfo.As |
TypeSerializer.getTypeInclusion()
Accessor for type information inclusion method
that serializer uses; indicates how type information
is embedded in resulting JSON.
|
abstract JsonTypeInfo.As |
TypeDeserializer.getTypeInclusion()
Accessor for type information inclusion method
that deserializer uses; indicates how type information
is (expected to be) embedded in JSON input.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping applicability,
JsonTypeInfo.As includeAs)
Method for enabling automatic inclusion of type information, needed
for proper deserialization of polymorphic types (unless types
have been annotated with
JsonTypeInfo ). |
Modifier and Type | Method and Description |
---|---|
T |
TypeResolverBuilder.inclusion(JsonTypeInfo.As includeAs)
Method for specifying mechanism to use for including type metadata
in JSON.
|
Modifier and Type | Field and Description |
---|---|
protected JsonTypeInfo.As |
StdTypeResolverBuilder._includeAs |
Modifier and Type | Method and Description |
---|---|
abstract JsonTypeInfo.As |
TypeSerializerBase.getTypeInclusion() |
abstract JsonTypeInfo.As |
TypeDeserializerBase.getTypeInclusion() |
JsonTypeInfo.As |
AsWrapperTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsWrapperTypeDeserializer.getTypeInclusion() |
JsonTypeInfo.As |
AsPropertyTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsPropertyTypeDeserializer.getTypeInclusion() |
JsonTypeInfo.As |
AsExternalTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsExternalTypeDeserializer.getTypeInclusion() |
JsonTypeInfo.As |
AsArrayTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsArrayTypeDeserializer.getTypeInclusion() |
Modifier and Type | Method and Description |
---|---|
StdTypeResolverBuilder |
StdTypeResolverBuilder.inclusion(JsonTypeInfo.As includeAs) |