Class IntStreamSerializer

All Implemented Interfaces:
JsonFormatVisitable

public class IntStreamSerializer extends StdSerializer<IntStream>
IntStream serializer

Unfortunately there to common ancestor between number base stream, so we need to define each in a specific class

  • Field Details

  • Method Details

    • serialize

      public void serialize(IntStream stream, tools.jackson.core.JsonGenerator g, SerializationContext ctxt) throws tools.jackson.core.JacksonException
      Description copied from class: ValueSerializer
      Method that can be called to ask implementation to serialize values of type this serializer handles.
      Specified by:
      serialize in class StdSerializer<IntStream>
      Parameters:
      stream - Value to serialize; can not be null.
      g - Generator used to output resulting Json content
      ctxt - Context that can be used to get serializers for serializing Objects value contains, if any.
      Throws:
      tools.jackson.core.JacksonException