Enum JsonParserUtils.Mode
- All Implemented Interfaces:
Serializable
,Comparable<JsonParserUtils.Mode>
,java.lang.constant.Constable
- Enclosing class:
- JsonParserUtils
protected static enum JsonParserUtils.Mode extends Enum<JsonParserUtils.Mode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Method Summary
Modifier and Type Method 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.
-
Enum Constant Details
-
JSON_OBJECT
-
JSON_OBJECT_VALUE
-
JSON_ARRAY
-
JSON_ARRAY_VALUE
-
JSON_STRING_HASH_KEY
-
JSON_STRING_VALUE
-
JSON_BOOLEAN_TRUE_VALUE
-
JSON_BOOLEAN_FALSE_VALUE
-
JSON_NUMBER_VALUE
-
JSON_NULL_VALUE
-
BOM
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-