public static enum JsonObject.FieldDetectionPolicy extends java.lang.Enum<JsonObject.FieldDetectionPolicy>
| Enum Constant and Description |
|---|
ANNOTATIONS_ONLY
Only parse and serialize fields annotated with @JsonField
|
NONPRIVATE_FIELDS
Parse and serialize all non-private fields that haven't been
annotated with @JsonIgnore.
|
NONPRIVATE_FIELDS_AND_ACCESSORS
Parse and serialize all non-private fields and accessors that
haven't been annotated with @JsonIgnore.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonObject.FieldDetectionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonObject.FieldDetectionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonObject.FieldDetectionPolicy ANNOTATIONS_ONLY
public static final JsonObject.FieldDetectionPolicy NONPRIVATE_FIELDS
public static final JsonObject.FieldDetectionPolicy NONPRIVATE_FIELDS_AND_ACCESSORS
public static JsonObject.FieldDetectionPolicy[] values()
for (JsonObject.FieldDetectionPolicy c : JsonObject.FieldDetectionPolicy.values()) System.out.println(c);
public static JsonObject.FieldDetectionPolicy 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