Package | Description |
---|---|
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 |
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(java.lang.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,
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,
java.lang.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) |