public enum JsonParserType extends Enum<JsonParserType>
Enum Constant and Description |
---|
GSON |
JACKSON_1 |
JACKSON_2 |
JOHNZON |
JSONB |
Modifier and Type | Method and Description |
---|---|
static JsonParserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonParserType JACKSON_2
public static final JsonParserType JACKSON_1
public static final JsonParserType GSON
public static final JsonParserType JOHNZON
public static final JsonParserType JSONB
public static JsonParserType[] values()
for (JsonParserType c : JsonParserType.values()) System.out.println(c);
public static JsonParserType 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 © 2010–2022. All rights reserved.