public enum JsonLibrary extends Enum<JsonLibrary>
Enum Constant and Description |
---|
Fastjson |
Gson |
Jackson |
Johnzon |
Jsonb |
XStream |
Modifier and Type | Method and Description |
---|---|
static JsonLibrary |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonLibrary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonLibrary XStream
public static final JsonLibrary Jackson
public static final JsonLibrary Johnzon
public static final JsonLibrary Gson
public static final JsonLibrary Fastjson
public static final JsonLibrary Jsonb
public static JsonLibrary[] values()
for (JsonLibrary c : JsonLibrary.values()) System.out.println(c);
public static JsonLibrary 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 nullApache Camel