public enum JsonTypeName extends Enum<JsonTypeName>
| Enum Constant and Description |
|---|
ARRAY
Json Array type
|
BOOLEAN
Json boolean type
|
NUMBER
Json number type
|
OBJECT
Json Object type
|
STRING
Json string type
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static JsonTypeName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonTypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonTypeName OBJECT
public static final JsonTypeName ARRAY
public static final JsonTypeName STRING
public static final JsonTypeName NUMBER
public static final JsonTypeName BOOLEAN
public static JsonTypeName[] values()
for (JsonTypeName c : JsonTypeName.values()) System.out.println(c);
public static JsonTypeName 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 nullpublic String toString()
toString in class Enum<JsonTypeName>Copyright © 2021 Vitam. All rights reserved.