Class DoubleStreamSerializer

All Implemented Interfaces:
JsonFormatVisitable

public class DoubleStreamSerializer extends StdSerializer<DoubleStream>
DoubleStream 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(DoubleStream 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<DoubleStream>
      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