Package 

Class JacksonModelReaderAndWriter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final KClass<T> clazz
      private final ObjectMapper objectMapper
    • Method Summary

      Modifier and Type Method Description
      Function1<ByteArray, T> deserializer()
      Function1<T, ByteArray> serializer()
      KClass<T> getClazz()
      final ObjectMapper getObjectMapper()
      • Methods inherited from class com.jillesvangurp.eskotlinwrapper.JacksonModelReaderAndWriter

        deserialize, deserialize, serialize
      • Methods inherited from class com.jillesvangurp.eskotlinwrapper.ModelReaderAndWriter

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JacksonModelReaderAndWriter

        JacksonModelReaderAndWriter(Class<T> javaClazz, ObjectMapper objectMapper)
        Alternate constructor so we can instantiate from Java as well
      • JacksonModelReaderAndWriter

        JacksonModelReaderAndWriter(KClass<T> clazz, ObjectMapper objectMapper)