public class BigDecimalSerializer
extends com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base<java.math.BigDecimal>
BigDecimalSerializer
class is a NumberSerializers.Base
serializer
for serializing BigDecimal
values.BigDecimal
,
NumberSerializers
,
Serialized FormModifier and Type | Field and Description |
---|---|
static BigDecimalSerializer |
INSTANCE |
Constructor and Description |
---|
BigDecimalSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(java.math.BigDecimal value,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider) |
void |
serializeWithType(java.math.BigDecimal value,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) |
acceptJsonFormatVisitor, createContextual, getSchema
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
public static final BigDecimalSerializer INSTANCE
public void serialize(java.math.BigDecimal value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider) throws java.io.IOException
serialize
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<java.math.BigDecimal>
java.io.IOException
public void serializeWithType(java.math.BigDecimal value, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSerializer) throws java.io.IOException
serializeWithType
in class com.fasterxml.jackson.databind.ser.std.StdScalarSerializer<java.math.BigDecimal>
java.io.IOException