public class JacksonSerializer<T> extends Object implements InstanceSerializer<T>
| Constructor and Description |
|---|
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<T> klazz) |
public T deserialize(byte[] raw) throws IOException
deserialize in interface InstanceSerializer<T>IOExceptionpublic byte[] serialize(T instance) throws IOException
serialize in interface InstanceSerializer<T>IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.