public static enum JsonConfig.Include extends Enum<JsonConfig.Include>
Enum Constant and Description |
---|
ALL
Include all values including null and empty collections.
|
NON_EMPTY
Exclude null values and empty collections.
|
NON_NULL
Exclude null values (include empty collections).
|
Modifier and Type | Method and Description |
---|---|
static JsonConfig.Include |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonConfig.Include[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonConfig.Include ALL
public static final JsonConfig.Include NON_NULL
public static final JsonConfig.Include NON_EMPTY
public static JsonConfig.Include[] values()
for (JsonConfig.Include c : JsonConfig.Include.values()) System.out.println(c);
public static JsonConfig.Include 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 © 2019. All rights reserved.