public static enum JsonComponent.Scope extends 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(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
,
JsonDeserializer
public static final JsonComponent.Scope KEYS
JsonSerializer
,
KeyDeserializer
public static JsonComponent.Scope[] values()
for (JsonComponent.Scope c : JsonComponent.Scope.values()) System.out.println(c);
public static JsonComponent.Scope 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 Pivotal Software, Inc.. All rights reserved.