public class KVStoreSerializer
extends Object
The serializer is based on Jackson, so values are written as JSON. It also allows "naked strings" and integers to be written as values directly, which will be written as UTF-8 strings.
Constructor and Description |
---|
KVStoreSerializer() |
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] data,
Class<T> klass) |
byte[] |
serialize(Object o) |