| Constructor and Description |
|---|
JsonCodec() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialise(byte[] data,
Class<T> clazz,
DecodeMethod method) |
<T> T |
deserialise(InputStream stream,
Class<T> clazz,
DecodeMethod method) |
protected com.fasterxml.jackson.databind.ObjectMapper |
getMapper(DecodeMethod method) |
byte[] |
serialise(Object object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialise, deserialisepublic <T> T deserialise(byte[] data,
Class<T> clazz,
DecodeMethod method)
throws CodecException
deserialise in interface CodecCodecExceptionpublic <T> T deserialise(InputStream stream, Class<T> clazz, DecodeMethod method) throws CodecException
deserialise in interface CodecCodecExceptionpublic byte[] serialise(Object object) throws CodecException
serialise in interface CodecCodecExceptionprotected com.fasterxml.jackson.databind.ObjectMapper getMapper(DecodeMethod method)
Copyright © 2017. All rights reserved.