程序包 | 说明 |
---|---|
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.std |
限定符和类型 | 类和说明 |
---|---|
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.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 |
限定符和类型 | 类和说明 |
---|---|
class |
CalendarSerializer
Standard serializer for
Calendar . |
class |
DateSerializer
For efficiency, we will serialize Dates as longs, instead of
potentially more readable Strings.
|
class |
EnumSerializer
Standard serializer used for
Enum types. |
class |
InetAddressSerializer
Simple serializer for
InetAddress . |
class |
NonTypedScalarSerializerBase<T>
Intermediate base class for limited number of scalar types
that should never include type information.
|
static class |
StdJdkSerializers.AtomicBooleanSerializer |
static class |
StdJdkSerializers.AtomicIntegerSerializer |
static class |
StdJdkSerializers.AtomicLongSerializer |
static class |
StdJdkSerializers.ClassSerializer
Also: default bean access will not do much good with Class.class.
|
static class |
StdJdkSerializers.FileSerializer
For now, File objects get serialized by just outputting
absolute (but not canonical) name as String value
|
class |
StringSerializer
This is the special serializer for regular
String s. |
class |
TimeZoneSerializer |