Class GsonFactory

java.lang.Object
io.goodforgod.gson.configuration.GsonFactory

public class GsonFactory extends Object
Simple Gson factory implementation that builds instance of Gson from property file: gson.properties
Since:
06.10.2021
  • Constructor Details

    • GsonFactory

      public GsonFactory()
  • Method Details

    • build

      public com.google.gson.Gson build()
      Returns:
      Gson built with GsonConfiguration as base
    • builder

      public com.google.gson.GsonBuilder builder()
      Returns:
      Gson built with GsonConfiguration as base