public final class ByteArraySerializer extends com.fasterxml.jackson.databind.JsonSerializer<Byte[]>
Byte[] objects into Base64 strings.| Constructor and Description |
|---|
ByteArraySerializer() |
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.module.SimpleModule |
getModule()
Gets a module wrapping this serializer as an adapter for the Jackson
ObjectMapper.
|
void |
serialize(Byte[] value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public static com.fasterxml.jackson.databind.module.SimpleModule getModule()
public void serialize(Byte[] value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<Byte[]>IOExceptionCopyright © 2019. All rights reserved.