|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.ser.std.NumberSerializers
public class NumberSerializers
Container class for serializers used for handling standard JDK-provided types.
Nested Class Summary | |
---|---|
static class |
NumberSerializers.DoubleSerializer
This is the special serializer for regular Double s
(and primitive doubles) |
static class |
NumberSerializers.FloatSerializer
|
static class |
NumberSerializers.IntegerSerializer
This is the special serializer for regular Integer s
(and primitive ints) |
static class |
NumberSerializers.IntLikeSerializer
Similar to NumberSerializers.IntegerSerializer , but will not cast to Integer:
instead, cast is to Number , and conversion is
by calling Number.intValue() . |
static class |
NumberSerializers.LongSerializer
|
static class |
NumberSerializers.NumberSerializer
As a fallback, we may need to use this serializer for other types of Number s (custom types). |
Constructor Summary | |
---|---|
protected |
NumberSerializers()
|
Method Summary | |
---|---|
static void |
addAll(Map<String,JsonSerializer<?>> allDeserializers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected NumberSerializers()
Method Detail |
---|
public static void addAll(Map<String,JsonSerializer<?>> allDeserializers)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |