public final class UUIDKeySerializer extends KeySerializer<UUID>
KeySerializer implementation for UUID.| Modifier and Type | Method and Description |
|---|---|
protected String |
doSerialize(UUID value,
JsonSerializationContext ctx)
Serializes a non-null object into a
String to use as map's key. |
static UUIDKeySerializer |
getInstance() |
serializepublic static UUIDKeySerializer getInstance()
UUIDKeySerializerprotected String doSerialize(@Nonnull UUID value, JsonSerializationContext ctx)
KeySerializerString to use as map's key.doSerialize in class KeySerializer<UUID>value - Object to serializectx - Context for the full serialization processCopyright © 2013. All Rights Reserved.