| Modifier and Type | Class and 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 regular
Doubles (and
primitive doubles)
Since this is one of "native" types, no type information is ever included
on serialization (unlike for most scalar types other than long). |
static class |
NumberSerializers.FloatSerializer |
static class |
NumberSerializers.IntegerSerializer
This is the special serializer for regular
Integers
(and primitive ints)
Since this is one of "natural" types, no type information is ever included
on serialization (unlike for most scalar types, except for double). |
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.ShortSerializer |
| Modifier | Constructor and Description |
|---|---|
protected |
NumberSerializers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAll(Map<String,JsonSerializer<?>> allDeserializers) |
public static void addAll(Map<String,JsonSerializer<?>> allDeserializers)
Copyright © 2008–2025 FasterXML. All rights reserved.