Class Jackson2Plugin

java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.jackson2.Jackson2Plugin
All Implemented Interfaces:
JdbiPlugin

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

    • Jackson2Plugin

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