Class ByteArraySerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<byte[]>
-
- com.syntifi.near.api.rpc.json.serializer.ByteArraySerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class ByteArraySerializer extends com.fasterxml.jackson.databind.JsonSerializer<byte[]>
Custom byte array serializer for handling serialization numerically- Since:
- 0.2.0
- Author:
- Alexandre Carvalho, Andre Bertolace
-
-
Constructor Summary
Constructors Constructor Description ByteArraySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(byte[] bytes, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
-
-
-
Method Detail
-
serialize
public void serialize(byte[] bytes, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws java.io.IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<byte[]>
- Throws:
java.io.IOException
-
-