public static enum JsonComponent.Scope extends java.lang.Enum<JsonComponent.Scope>
| Enum Constant and Description |
|---|
KEYS
A serializer/deserializer for keys.
|
VALUES
A serializer/deserializer for regular value content.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonComponent.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonComponent.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonComponent.Scope VALUES
JsonSerializer,
JsonDeserializerpublic static final JsonComponent.Scope KEYS
JsonSerializer,
KeyDeserializerpublic static JsonComponent.Scope[] values()
for (JsonComponent.Scope c : JsonComponent.Scope.values()) System.out.println(c);
public static JsonComponent.Scope 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