Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

        com.fasterxml.jackson.databind.JsonSerializer.None
    • 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)  
      • Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

        acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteArraySerializer

        public ByteArraySerializer()
    • 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 class com.fasterxml.jackson.databind.JsonSerializer<byte[]>
        Throws:
        java.io.IOException