Package 

Class ObjectMapperExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> ObjectMapper<T> get(ObjectMapper.Factory $self) Create an object mapper with the given Factory for objects of type T, accepting parameterized types.
      final <T extends Any> ObjectMapper<T> get(ObjectMapper.Factory $self, KClass<T> type) Get an object mapper for the kotlin class provided.
      final <T extends Any> TypeSerializer<T> get(TypeSerializerCollection $self) Get the appropriate TypeSerializer for the provided type T, or null if none is applicable.
      final <T extends Any> TypeSerializer<T> get(TypeSerializerCollection $self, KClass<T> type) Get the appropriate TypeSerializer for the provided type type, or null if none is applicable.
      • Methods inherited from class java.lang.Object

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

      • get

         final <T extends Any> ObjectMapper<T> get(ObjectMapper.Factory $self)

        Create an object mapper with the given Factory for objects of type T, accepting parameterized types.

      • get

         final <T extends Any> ObjectMapper<T> get(ObjectMapper.Factory $self, KClass<T> type)

        Get an object mapper for the kotlin class provided.

        This cannot be used for parameterized types.

      • get

         final <T extends Any> TypeSerializer<T> get(TypeSerializerCollection $self)

        Get the appropriate TypeSerializer for the provided type T, or null if none is applicable.

      • get

         final <T extends Any> TypeSerializer<T> get(TypeSerializerCollection $self, KClass<T> type)

        Get the appropriate TypeSerializer for the provided type type, or null if none is applicable.