Class DoubleStreamSerializer

All Implemented Interfaces:
JsonFormatVisitable, SchemaAware, Serializable

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

See Also:
  • Field Details

  • Method Details

    • serialize

      public void serialize(DoubleStream stream, JsonGenerator jgen, SerializerProvider provider) throws IOException
      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<DoubleStream>
      Parameters:
      stream - Value to serialize; can not be null.
      jgen - 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