public static enum JsonAttribute.IncludePolicy extends Enum<JsonAttribute.IncludePolicy>
| Enum Constant and Description |
|---|
ALWAYS
Always include property in the output
|
NON_DEFAULT
Include property only if the value is non default.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonAttribute.IncludePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonAttribute.IncludePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonAttribute.IncludePolicy NON_DEFAULT
public static final JsonAttribute.IncludePolicy ALWAYS
public static JsonAttribute.IncludePolicy[] values()
for (JsonAttribute.IncludePolicy c : JsonAttribute.IncludePolicy.values()) System.out.println(c);
public static JsonAttribute.IncludePolicy 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 © 2023. All rights reserved.