public enum JsonLiteral extends java.lang.Enum<JsonLiteral> implements JsonValue
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
value |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static JsonLiteral |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonLiteral[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOftoFormattedStringpublic static final JsonLiteral TRUE
public static final JsonLiteral FALSE
public static final JsonLiteral NULL
public static JsonLiteral[] values()
for (JsonLiteral c : JsonLiteral.values()) System.out.println(c);
public static JsonLiteral 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<JsonLiteral>