public enum JsonMethod extends Enum<JsonMethod>
Enum Constant and Description |
---|
AUTO
使用阿里巴巴的JSONObject
|
HANDLE
Deprecated.
推荐使用
MANUAL |
MANUAL
手动的方式
|
Modifier and Type | Method and Description |
---|---|
static JsonMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonMethod AUTO
public static final JsonMethod HANDLE
MANUAL
public static final JsonMethod MANUAL
public static JsonMethod[] values()
for (JsonMethod c : JsonMethod.values()) System.out.println(c);
public static JsonMethod 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. All rights reserved.