public class JacksonSerializer<T> extends Object implements Serializer<T>
| Constructor and Description |
|---|
JacksonSerializer() |
JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
public JacksonSerializer()
public JacksonSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public byte[] serialize(T t) throws SerializationException
serialize in interface Serializer<T>SerializationExceptionprotected byte[] writeValueAsBytes(T t) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2014–2020 jsonwebtoken.io. All rights reserved.