public static enum JsonObject.FieldNamingPolicy extends java.lang.Enum<JsonObject.FieldNamingPolicy>
| Enum Constant and Description |
|---|
FIELD_NAME
Use the Java variable's name, unless the 'name' parameter is
passed into the @JsonField annotation
|
LOWER_CASE_WITH_UNDERSCORES
Use the Java variable's name converted to lower case separated by
underscores, unless the 'name' parameter is passed into the @JsonField
annotation
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject.FieldNamingPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonObject.FieldNamingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonObject.FieldNamingPolicy FIELD_NAME
public static final JsonObject.FieldNamingPolicy LOWER_CASE_WITH_UNDERSCORES
public static JsonObject.FieldNamingPolicy[] values()
for (JsonObject.FieldNamingPolicy c : JsonObject.FieldNamingPolicy.values()) System.out.println(c);
public static JsonObject.FieldNamingPolicy 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