public class NumberSerializers
extends java.lang.Object
Integer
).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
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.ShortSerializer |
Modifier and Type | Method and Description |
---|---|
static void |
addAll(java.util.Map<java.lang.String,JsonSerializer<?>> allDeserializers) |
public static void addAll(java.util.Map<java.lang.String,JsonSerializer<?>> allDeserializers)
Copyright © 2010 - 2020 Adobe. All Rights Reserved