类 JsonParserFactory
- java.lang.Object
- org.springframework.boot.json.JsonParserFactory
public abstract class JsonParserFactory extends Object
Factory to create aJsonParser
.
构造器详细资料
JsonParserFactory
public JsonParserFactory()
方法详细资料
getJsonParser
public static JsonParser getJsonParser()
Static factory for the "best" JSON parser available on the classpath. Tries Jackson 2, then Gson, Snake YAML, Simple JSON, JSON (from eclipse), and then falls back to theBasicJsonParser
.- 返回:
- a
JsonParser