public class ObjectMapperCodec extends Object
| Constructor and Description |
|---|
ObjectMapperCodec() |
| Modifier and Type | Method and Description |
|---|---|
ObjectMapperCodec |
addModule(com.fasterxml.jackson.databind.module.SimpleModule simpleModule) |
ObjectMapperCodec |
configureMapper(Consumer<com.fasterxml.jackson.databind.ObjectMapper> objectMapperConfigure) |
<T> T |
deserialize(byte[] bytes,
Class<T> clazz) |
<T> T |
deserialize(String content,
Class<T> clazz) |
String |
serialize(Object object) |
public <T> T deserialize(byte[] bytes,
Class<T> clazz)
public ObjectMapperCodec addModule(com.fasterxml.jackson.databind.module.SimpleModule simpleModule)
public ObjectMapperCodec configureMapper(Consumer<com.fasterxml.jackson.databind.ObjectMapper> objectMapperConfigure)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.