Class TypeCodec<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract T deserialize​(java.lang.reflect.AnnotatedType type, java.lang.Object value, NodeContext context)  
      abstract java.lang.Object serialize​(java.lang.reflect.AnnotatedType type, T value, NodeContext context)  
      io.leangen.geantyref.TypeToken<T> type()  
      • Methods inherited from class java.lang.Object

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

      • deserialize

        public abstract T deserialize​(java.lang.reflect.AnnotatedType type,
                                      java.lang.Object value,
                                      NodeContext context)
      • serialize

        public abstract java.lang.Object serialize​(java.lang.reflect.AnnotatedType type,
                                                   T value,
                                                   NodeContext context)
      • type

        public io.leangen.geantyref.TypeToken<T> type()