public class ByteArrayJsonSerializer extends java.lang.Object implements TypeJsonSerializer<byte[]>
| Constructor and Description |
|---|
ByteArrayJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
serialize(JsonContext jsonContext,
byte[] array)
Serializes a value and writes a JSON content.
|
public boolean serialize(JsonContext jsonContext, byte[] array)
TypeJsonSerializertrue if content was written.
Returns false if content for some reason was not written.serialize in interface TypeJsonSerializer<byte[]>Copyright © 2003-present Jodd Team