Class JsonParserFactory

java.lang.Object
org.springframework.boot.json.JsonParserFactory

public abstract class JsonParserFactory extends Object
Factory to create a JsonParser.
Since:
1.0.0
See Also:
  • Constructor Details

    • JsonParserFactory

      public JsonParserFactory()
  • Method Details

    • getJsonParser

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