public enum JSONInstanceSerializationMode extends java.lang.Enum<JSONInstanceSerializationMode> implements ValueEnum
Enum Constant and Description |
---|
LONG
instances will be shown as a specially formatted JSON listing the most relevant properties of the instance.
|
SHORT
instances will be shown in a shorter format via a call to echoLeaf.
|
SKIP
no output will be shown for instances (as though they were not present in the data).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static JSONInstanceSerializationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JSONInstanceSerializationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONInstanceSerializationMode LONG
public static final JSONInstanceSerializationMode SHORT
public static final JSONInstanceSerializationMode SKIP
public static JSONInstanceSerializationMode[] values()
for (JSONInstanceSerializationMode c : JSONInstanceSerializationMode.values()) System.out.println(c);
public static JSONInstanceSerializationMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null