public enum ImplType extends Enum<ImplType>
| Modifier and Type | Method and Description |
|---|---|
static ImplType |
detectJsonParser()
检测使用哪个json框架
|
JsonBuilder |
getBuilder() |
static ImplType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImplType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImplType FASTJSON
public static final ImplType FASTJSON2
public static final ImplType JACKSON
public static final ImplType GSON
public static ImplType[] values()
for (ImplType c : ImplType.values()) System.out.println(c);
public static ImplType 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 nullpublic JsonBuilder getBuilder()
public static ImplType detectJsonParser()
Copyright © 2024. All rights reserved.