org.springframework.boot.json

Class JsonParserFactory

    • 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 2, then Gson, Snake YAML, Simple JSON, JSON (from eclipse), and then falls back to the BasicJsonParser.
        Returns:
        a JsonParser