public static enum JsonIgnore.IgnorePolicy extends java.lang.Enum<JsonIgnore.IgnorePolicy>
| Enum Constant and Description |
|---|
PARSE_AND_SERIALIZE
This field will be ignored for both parsing and serializing.
|
PARSE_ONLY
This field will be ignored for parsing, but will still be serialized.
|
SERIALIZE_ONLY
This field will be ignored for serializing, but will still be parsed.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonIgnore.IgnorePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonIgnore.IgnorePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonIgnore.IgnorePolicy PARSE_AND_SERIALIZE
public static final JsonIgnore.IgnorePolicy PARSE_ONLY
public static final JsonIgnore.IgnorePolicy SERIALIZE_ONLY
public static JsonIgnore.IgnorePolicy[] values()
for (JsonIgnore.IgnorePolicy c : JsonIgnore.IgnorePolicy.values()) System.out.println(c);
public static JsonIgnore.IgnorePolicy 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