public static enum JsonSerialize.Typing extends Enum<JsonSerialize.Typing>
JsonSerialize.typing()
property
to define whether type detection is based on dynamic runtime
type (DYNAMIC) or declared type (STATIC).Enum Constant and Description |
---|
DYNAMIC
Value that indicates that the actual dynamic runtime type is to
be used.
|
STATIC
Value that indicates that the static declared type is to
be used.
|
Modifier and Type | Method and Description |
---|---|
static JsonSerialize.Typing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonSerialize.Typing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonSerialize.Typing DYNAMIC
public static final JsonSerialize.Typing STATIC
public static JsonSerialize.Typing[] values()
for (JsonSerialize.Typing c : JsonSerialize.Typing.values()) System.out.println(c);
public static JsonSerialize.Typing valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2013 FasterXML. All Rights Reserved.