Class JsonProcessingMapperProvider

java.lang.Object
io.helidon.dbclient.jsonp.JsonProcessingMapperProvider
All Implemented Interfaces:
DbMapperProvider

@Priority(5000) public class JsonProcessingMapperProvider extends Object implements DbMapperProvider
JSON-P mapper provider.
  • Constructor Details

    • JsonProcessingMapperProvider

      public JsonProcessingMapperProvider()
  • Method Details

    • mapper

      public <T> Optional<DbMapper<T>> mapper(Class<T> type)
      Description copied from interface: DbMapperProvider
      Returns mapper for specific type.
      Specified by:
      mapper in interface DbMapperProvider
      Type Parameters:
      T - target mapping type
      Parameters:
      type - class of the returned mapper type
      Returns:
      a mapper for the specified type or empty