Class ScalarJsonJacksonMapper

java.lang.Object
io.ebean.jackson.mapper.ScalarJsonJacksonMapper
All Implemented Interfaces:
io.ebean.core.type.ScalarJsonMapper

public final class ScalarJsonJacksonMapper extends Object implements io.ebean.core.type.ScalarJsonMapper
Supports @DbJson properties using Jackson ObjectMapper.
  • Constructor Details

    • ScalarJsonJacksonMapper

      public ScalarJsonJacksonMapper()
  • Method Details

    • markerAnnotation

      public <A extends Annotation> Class<A> markerAnnotation()
      Specified by:
      markerAnnotation in interface io.ebean.core.type.ScalarJsonMapper
    • createType

      public io.ebean.core.type.ScalarType<?> createType(io.ebean.core.type.ScalarJsonRequest req)
      Create and return the appropriate ScalarType.
      Specified by:
      createType in interface io.ebean.core.type.ScalarJsonMapper