Class Gson2Plugin

All Implemented Interfaces:
JdbiPlugin

public class Gson2Plugin extends JdbiPlugin.Singleton
Gson 2 integration plugin. Adds support for @Json qualifying annotation via Gson.
See Also:
  • Constructor Details

    • Gson2Plugin

      public Gson2Plugin()
  • Method Details

    • customizeJdbi

      public void customizeJdbi(Jdbi jdbi)
      Description copied from interface: JdbiPlugin
      Configure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.
      Parameters:
      jdbi - the jdbi to customize