public enum JsonTextType extends Enum<JsonTextType>
| Enum Constant and Description |
|---|
array
JSON array text
|
object
JSON object text
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBeginString() |
String |
getEndString() |
static JsonTextType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonTextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonTextType array
public static final JsonTextType object
public static JsonTextType[] values()
for (JsonTextType c : JsonTextType.values()) System.out.println(c);
public static JsonTextType 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 getBeginString()
public String getEndString()
Copyright © 2015. All Rights Reserved.