Package net.solarnetwork.codec
Interface TypedKeyDeserializer
public interface TypedKeyDeserializer
KeyDeserializer does not implement an interface, nor provide a
default "type" the deserializer supports. This API provides a way to
configure them on a Module.- Version:
- 1.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.KeyDeserializerThe key deserializer to register.Class<?>The type to register the key deserializer with.
-
Method Details
-
getKeyType
Class<?> getKeyType()The type to register the key deserializer with.- Returns:
- A type.
-
getKeyDeserializer
com.fasterxml.jackson.databind.KeyDeserializer getKeyDeserializer()The key deserializer to register.- Returns:
- The key deserializer.
-