public class StdSerializers extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
StdSerializers.BooleanSerializer
Serializer used for primitive boolean, as well as java.util.Boolean
wrapper type.
|
static class |
StdSerializers.CalendarSerializer
已过时。
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.DoubleSerializer
This is the special serializer for regular
Double s
(and primitive doubles)
Since this is one of "native" types, no type information is ever
included on serialization (unlike for most scalar types as of 1.5) |
static class |
StdSerializers.FloatSerializer |
static class |
StdSerializers.IntegerSerializer
This is the special serializer for regular
Integer s
(and primitive ints)
Since this is one of "native" types, no type information is ever
included on serialization (unlike for most scalar types as of 1.5) |
static class |
StdSerializers.IntLikeSerializer
Similar to
StdSerializers.IntegerSerializer , but will not cast to Integer:
instead, cast is to Number , and conversion is
by calling Number.intValue() . |
static class |
StdSerializers.LongSerializer |
static class |
StdSerializers.NumberSerializer
As a fallback, we may need to use this serializer for other
types of
Number s (custom types). |
static class |
StdSerializers.SerializableSerializer
已过时。
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.SerializableWithTypeSerializer
已过时。
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.SqlDateSerializer
Compared to regular
StdSerializers.UtilDateSerializer , we do use String
representation here. |
static class |
StdSerializers.SqlTimeSerializer |
static class |
StdSerializers.StringSerializer
已过时。
Since 1.9, use
StringSerializer instead |
static class |
StdSerializers.UtilDateSerializer
已过时。
Since 1.9, use
DateSerializer instead |
限定符 | 构造器和说明 |
---|---|
protected |
StdSerializers() |