protected static enum JsonParserUtils.Mode extends Enum<JsonParserUtils.Mode>
Enum Constant and Description |
---|
BOM |
JSON_ARRAY |
JSON_ARRAY_VALUE |
JSON_BOOLEAN_FALSE_VALUE |
JSON_BOOLEAN_TRUE_VALUE |
JSON_NULL_VALUE |
JSON_NUMBER_VALUE |
JSON_OBJECT |
JSON_OBJECT_VALUE |
JSON_STRING_HASH_KEY |
JSON_STRING_VALUE |
Modifier and Type | Method and Description |
---|---|
static JsonParserUtils.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParserUtils.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParserUtils.Mode JSON_OBJECT
public static final JsonParserUtils.Mode JSON_OBJECT_VALUE
public static final JsonParserUtils.Mode JSON_ARRAY
public static final JsonParserUtils.Mode JSON_ARRAY_VALUE
public static final JsonParserUtils.Mode JSON_STRING_HASH_KEY
public static final JsonParserUtils.Mode JSON_STRING_VALUE
public static final JsonParserUtils.Mode JSON_BOOLEAN_TRUE_VALUE
public static final JsonParserUtils.Mode JSON_BOOLEAN_FALSE_VALUE
public static final JsonParserUtils.Mode JSON_NUMBER_VALUE
public static final JsonParserUtils.Mode JSON_NULL_VALUE
public static final JsonParserUtils.Mode BOM
public static JsonParserUtils.Mode[] values()
for (JsonParserUtils.Mode c : JsonParserUtils.Mode.values()) System.out.println(c);
public static JsonParserUtils.Mode 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 © 2018 Couchbase, Inc.. All rights reserved.