Class BigIntegerSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<T>
com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base<BigInteger>
org.springframework.geode.jackson.databind.serializer.BigIntegerSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,com.fasterxml.jackson.databind.ser.ContextualSerializer
,Serializable
public class BigIntegerSerializer
extends com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base<BigInteger>
The
BigIntegerSerializer
class is a NumberSerializers.Base
serializer
for serializing BigInteger
values.- Since:
- 1.3.0
- See Also:
-
BigInteger
NumberSerializers
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base
_isInt, _numberType, _schemaType
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(BigInteger value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) void
serializeWithType
(BigInteger value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) Methods inherited from class com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base
acceptJsonFormatVisitor, createContextual, getSchema
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BigIntegerSerializer
public BigIntegerSerializer()
-
-
Method Details
-
serialize
public void serialize(BigInteger value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws IOException - Specified by:
serialize
in classcom.fasterxml.jackson.databind.ser.std.StdSerializer<BigInteger>
- Throws:
IOException
-
serializeWithType
public void serializeWithType(BigInteger value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) throws IOException - Overrides:
serializeWithType
in classcom.fasterxml.jackson.databind.ser.std.StdScalarSerializer<BigInteger>
- Throws:
IOException
-