Class GalasaGsonBuilder


public class GalasaGsonBuilder extends Object
  • Constructor Details

    • GalasaGsonBuilder

      public GalasaGsonBuilder()
    • GalasaGsonBuilder

      public GalasaGsonBuilder(boolean setPrettyPrinting)
      Creates a Gson builder to transform objects to JSON for use on the API endpoints. HTMLEscaping is disabled as when it is enabled it will tranform special characters to their unicode character references
  • Method Details

    • registerTypeAdapter

      public GalasaGsonBuilder registerTypeAdapter(Type type, Object object)
    • setDateFormat

      public GalasaGsonBuilder setDateFormat(String pattern)
    • getBuilder

      public getBuilder()
    • getGson

      public getGson()