org.springframework.boot.json

Class JsonParserFactory

  • java.lang.Object
    • org.springframework.boot.json.JsonParserFactory
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static JsonParser getJsonParser()
      Static factory for the "best" JSON parser available on the classpath.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonParserFactory

        public JsonParserFactory()
    • Method Detail

      • getJsonParser

        public static JsonParser getJsonParser()
        Static factory for the "best" JSON parser available on the classpath. Tries Jackson, then Gson, Snake YAML, and then falls back to the BasicJsonParser.
        Returns:
        a JsonParser