Class MoshiPlugin

All Implemented Interfaces:
JdbiPlugin

@Beta public class MoshiPlugin extends JdbiPlugin.Singleton
Moshi integration plugin. Adds support for @Json qualifying annotation via Moshi.
See Also:
  • Constructor Details

    • MoshiPlugin

      public MoshiPlugin()
  • 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