Package | Description |
---|---|
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.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
Modifier and Type | Field and Description |
---|---|
protected ObjectMapper.DefaultTyping |
ObjectMapper.DefaultTypeResolverBuilder._appliesFor
Definition of what types is this default typer valid for.
|
Modifier and Type | Method and Description |
---|---|
static ObjectMapper.DefaultTyping |
ObjectMapper.DefaultTyping.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectMapper.DefaultTyping[] |
ObjectMapper.DefaultTyping.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected TypeResolverBuilder<?> |
ObjectMapper._constructDefaultTypeResolverBuilder(ObjectMapper.DefaultTyping applicability,
PolymorphicTypeValidator ptv)
Overridable factory method, separate to allow format-specific mappers (and specifically
XML-backed one, currently) to offer custom
TypeResolverBuilder subtypes. |
ObjectMapper |
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator ptv,
ObjectMapper.DefaultTyping applicability)
Convenience method that is equivalent to calling
|
ObjectMapper |
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator ptv,
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 ). |
ObjectMapper |
ObjectMapper.activateDefaultTypingAsProperty(PolymorphicTypeValidator ptv,
ObjectMapper.DefaultTyping applicability,
String propertyName)
Method for enabling automatic inclusion of type information -- needed
for proper deserialization of polymorphic types (unless types
have been annotated with
JsonTypeInfo ) --
using "As.PROPERTY" inclusion mechanism and specified property name
to use for inclusion (default being "@class" since default type information
always uses class name as type identifier) |
static ObjectMapper.DefaultTypeResolverBuilder |
ObjectMapper.DefaultTypeResolverBuilder.construct(ObjectMapper.DefaultTyping t,
PolymorphicTypeValidator ptv) |
ObjectMapper |
ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping dti)
Deprecated.
Since 2.10 use
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping) instead |
ObjectMapper |
ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping applicability,
JsonTypeInfo.As includeAs)
Deprecated.
Since 2.10 use
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping,JsonTypeInfo.As) instead |
ObjectMapper |
ObjectMapper.enableDefaultTypingAsProperty(ObjectMapper.DefaultTyping applicability,
String propertyName)
Deprecated.
Since 2.10 use
ObjectMapper.activateDefaultTypingAsProperty(PolymorphicTypeValidator,DefaultTyping,String) instead |
Constructor and Description |
---|
DefaultTypeResolverBuilder(ObjectMapper.DefaultTyping t)
Deprecated.
Since 2.10
|
DefaultTypeResolverBuilder(ObjectMapper.DefaultTyping t,
PolymorphicTypeValidator ptv) |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.activateDefaultTyping(PolymorphicTypeValidator subtypeValidator,
ObjectMapper.DefaultTyping dti)
Convenience method that is equivalent to calling
|
B |
MapperBuilder.activateDefaultTyping(PolymorphicTypeValidator subtypeValidator,
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 ). |
B |
MapperBuilder.activateDefaultTypingAsProperty(PolymorphicTypeValidator subtypeValidator,
ObjectMapper.DefaultTyping applicability,
String propertyName)
Method for enabling automatic inclusion of type information -- needed
for proper deserialization of polymorphic types (unless types
have been annotated with
JsonTypeInfo ) --
using "As.PROPERTY" inclusion mechanism and specified property name
to use for inclusion (default being "@class" since default type information
always uses class name as type identifier) |
Copyright © 2008–2019 FasterXML. All rights reserved.