public class SerializerImpl extends Object implements Serializer
| Constructor and Description |
|---|
SerializerImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
jsonBytesToObject(byte[] json,
Class<?> c) |
String |
objectToJson(Object object) |
public SerializerImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public String objectToJson(Object object) throws JsonException
objectToJson in interface SerializerJsonExceptionpublic Object jsonBytesToObject(byte[] json, Class<?> c) throws JsonException
jsonBytesToObject in interface SerializerJsonExceptionCopyright © 2015. All rights reserved.