Package | Description |
---|---|
com.fasterxml.jackson.annotation |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.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 |
---|---|
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 |
---|---|
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 |
---|---|
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 |
protected JsonTypeInfo.As |
AsPropertyTypeDeserializer._inclusion |
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 |
AsExistingPropertyTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsArrayTypeSerializer.getTypeInclusion() |
JsonTypeInfo.As |
AsArrayTypeDeserializer.getTypeInclusion() |
Modifier and Type | Method and Description |
---|---|
StdTypeResolverBuilder |
StdTypeResolverBuilder.inclusion(JsonTypeInfo.As includeAs) |
Constructor and Description |
---|
AsPropertyTypeDeserializer(JavaType bt,
TypeIdResolver idRes,
String typePropertyName,
boolean typeIdVisible,
JavaType defaultImpl,
JsonTypeInfo.As inclusion) |
StdTypeResolverBuilder(JsonTypeInfo.Id idType,
JsonTypeInfo.As idAs,
String propName) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.