public static class NumberSerializers.LongSerializer extends NumberSerializers.Base<Object>
JsonSerializer.None_isInt, _numberType, _schemaType_handledType| Constructor and Description | 
|---|
| LongSerializer(Class<?> cls) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | serialize(Object value,
         JsonGenerator gen,
         SerializerProvider provider)Method that can be called to ask implementation to serialize
 values of type this serializer handles. | 
acceptJsonFormatVisitor, createContextual, getSchemaserializeWithType_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowgetDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterIdpublic LongSerializer(Class<?> cls)
public void serialize(Object value, JsonGenerator gen, SerializerProvider provider) throws IOException
JsonSerializerserialize in class StdSerializer<Object>value - Value to serialize; can not be null.gen - Generator used to output resulting Json contentprovider - Provider that can be used to get serializers for
   serializing Objects value contains, if any.IOExceptionCopyright © 2008–2020 FasterXML. All rights reserved.