Class GsonProvider

java.lang.Object
eu.cloudnetservice.driver.impl.document.gson.GsonProvider

final class GsonProvider extends Object
A holder for the different gson instances that are used internally.
Since:
4.0
  • Field Details

    • NORMAL_GSON_INSTANCE

      static final com.google.gson.Gson NORMAL_GSON_INSTANCE
      The default gson instance. This instance has all the base configuration done in order to be used for other, delegate gson instances.
    • PRETTY_PRINTING_GSON_INSTANCE

      static final com.google.gson.Gson PRETTY_PRINTING_GSON_INSTANCE
      Gson instance based on the normal instance but with pretty printing enabled.
  • Constructor Details

    • GsonProvider

      private GsonProvider()