Class NumberSerializers
- java.lang.Object
-
- com.fasterxml.jackson.databind.ser.std.NumberSerializers
-
public class NumberSerializers extends java.lang.Object
Container class for serializers used for handling standard JDK-provided primitve number types and their wrapper counterparts (likeInteger
).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NumberSerializers.Base<T>
Shared base class for actual primitive/wrapper number serializers.static class
NumberSerializers.DoubleSerializer
This is the special serializer for regularDouble
s (and primitive doubles)static class
NumberSerializers.FloatSerializer
static class
NumberSerializers.IntegerSerializer
This is the special serializer for regularInteger
s (and primitive ints)static class
NumberSerializers.IntLikeSerializer
Similar toNumberSerializers.IntegerSerializer
, but will not cast to Integer: instead, cast is toNumber
, and conversion is by callingNumber.intValue()
.static class
NumberSerializers.LongSerializer
static class
NumberSerializers.ShortSerializer
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addAll(java.util.Map<java.lang.String,JsonSerializer<?>> allDeserializers)
-
-
-
Method Detail
-
addAll
public static void addAll(java.util.Map<java.lang.String,JsonSerializer<?>> allDeserializers)
-
-