com.fasterxml.jackson.databind.ser.std

Class ByteBufferSerializer

    • Constructor Detail

      • ByteBufferSerializer

        public ByteBufferSerializer()
    • Method Detail

      • serialize

        public void serialize(ByteBuffer bbuf,
                     com.fasterxml.jackson.core.JsonGenerator gen,
                     SerializerProvider provider)
                       throws IOException,
                              com.fasterxml.jackson.core.JsonGenerationException
        Description copied from class: JsonSerializer
        Method that can be called to ask implementation to serialize values of type this serializer handles.
        Specified by:
        serialize in class StdSerializer<ByteBuffer>
        Parameters:
        bbuf - Value to serialize; can not be null.
        gen - Generator used to output resulting Json content
        provider - Provider that can be used to get serializers for serializing Objects value contains, if any.
        Throws:
        IOException
        com.fasterxml.jackson.core.JsonGenerationException

Copyright © 2014 FasterXML. All Rights Reserved.