Class ByteArrayJsonSerializer
java.lang.Object
jodd.json.impl.ByteArrayJsonSerializer
- All Implemented Interfaces:
TypeJsonSerializer<byte[]>
Serializes byte arrays.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanserialize(JsonContext jsonContext, byte[] array) Serializes a value and writes a JSON content.
-
Constructor Details
-
ByteArrayJsonSerializer
public ByteArrayJsonSerializer()
-
-
Method Details
-
serialize
Description copied from interface:TypeJsonSerializerSerializes a value and writes a JSON content. Returnstrueif content was written. Returnsfalseif content for some reason was not written.- Specified by:
serializein interfaceTypeJsonSerializer<byte[]>
-