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. |
Modifier and Type | Field | Description |
---|---|---|
protected ObjectMapper.DefaultTyping |
ObjectMapper.DefaultTypeResolverBuilder._appliesFor |
Definition of what types is this default typer valid for.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
ObjectMapper |
ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping dti) |
Convenience method that is equivalent to calling
|
ObjectMapper |
ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping applicability,
com.fasterxml.jackson.annotation.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.enableDefaultTypingAsProperty(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) |
Constructor | Description |
---|---|
DefaultTypeResolverBuilder(ObjectMapper.DefaultTyping t) |
Copyright © 2008–2018. All rights reserved.