java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<LongStream>
tools.jackson.databind.ext.jdk8.LongStreamSerializer
- All Implemented Interfaces:
JsonFormatVisitable
LongStream
serializer
Unfortunately there to common ancestor between number base stream, so we need to define each in a specific class
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
ValueSerializer.None
-
Field Summary
FieldsFields inherited from class tools.jackson.databind.ser.std.StdSerializer
_handledType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(LongStream stream, JsonGenerator g, SerializationContext ctxt) Method that can be called to ask implementation to serialize values of type this serializer handles.Methods inherited from class tools.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
Methods inherited from class tools.jackson.databind.ValueSerializer
createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Field Details
-
INSTANCE
Singleton instance
-
-
Method Details
-
serialize
public void serialize(LongStream stream, JsonGenerator g, SerializationContext ctxt) throws 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 classStdSerializer<LongStream>
- Parameters:
stream
- Value to serialize; can not be null.g
- Generator used to output resulting Json contentctxt
- Context that can be used to get serializers for serializing Objects value contains, if any.- Throws:
JacksonException
-