public final class JacksonSerdeImpl extends Object implements JacksonSerde
| Constructor and Description |
|---|
JacksonSerdeImpl(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Consumer<com.fasterxml.jackson.databind.ObjectMapper> configureFunction)
Allows configuring the underlying Jackson ObjectMapper
|
<T> T |
deserialize(byte[] content,
Class<T> type) |
byte[] |
serialize(Object value) |
public JacksonSerdeImpl(com.fasterxml.jackson.databind.ObjectMapper mapper)
public byte[] serialize(Object value)
serialize in interface ArangoSerdepublic <T> T deserialize(byte[] content,
Class<T> type)
deserialize in interface ArangoSerdepublic void configure(Consumer<com.fasterxml.jackson.databind.ObjectMapper> configureFunction)
JacksonSerdeconfigure in interface JacksonSerdeconfigureFunction - function to configure the Jackson ObjectMapperCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.