Interface JacksonSupportConfig

All Superinterfaces:
Prototype.Api, Prototype.Factory<JacksonSupport>
All Known Implementing Classes:
JacksonSupportConfig.BuilderBase.JacksonSupportConfigImpl

public interface JacksonSupportConfig extends Prototype.Api
Configuration of the JacksonSupport.
See Also:
  • Method Details

    • builder

      static JacksonSupportConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static JacksonSupportConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      @Deprecated static JacksonSupportConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static JacksonSupportConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • name

      String name()
      Name of the support. Default value is jackson.
      Returns:
      name of the support
    • objectMapper

      ObjectMapper objectMapper()
      Jackson ObjectMapper instance.
      Returns:
      jackson object mapper instance
    • properties

      Map<String,Boolean> properties()
      Jackson configuration properties. Properties are being ignored if specific JacksonSupport is set. Only boolean configuration values are supported.
      Returns:
      jackson config properties