Package | Description |
---|---|
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Class and Description |
---|---|
class |
BeanSerializer
Serializer class that can serialize Java objects that map
to JSON Object output.
|
Modifier and Type | Method and Description |
---|---|
protected BeanSerializerBase |
BeanSerializer.asArraySerializer()
Implementation has to check whether as-array serialization
is possible reliably; if (and only if) so, will construct
a
BeanAsArraySerializer , otherwise will return this
serializer as is. |
Constructor and Description |
---|
BeanSerializer(BeanSerializerBase src)
Alternate copy constructor that can be used to construct
standard
BeanSerializer passing an instance of
"compatible enough" source serializer. |
BeanSerializer(BeanSerializerBase src,
ObjectIdWriter objectIdWriter) |
BeanSerializer(BeanSerializerBase src,
String[] toIgnore) |
Modifier and Type | Class and Description |
---|---|
class |
BeanAsArraySerializer
Specialized POJO serializer that differs from
BeanSerializer
in that instead of producing a JSON Object it will output
a JSON Array, omitting field names, and serializing values in
specified serialization order. |
class |
UnwrappingBeanSerializer |
Modifier and Type | Field and Description |
---|---|
protected BeanSerializerBase |
BeanAsArraySerializer._defaultSerializer
Serializer that would produce JSON Object version; used in
cases where array output can not be used.
|
Modifier and Type | Method and Description |
---|---|
protected BeanSerializerBase |
UnwrappingBeanSerializer.asArraySerializer()
JSON Array output can not be done if unwrapping operation is
requested; so implementation will simply return 'this'.
|
protected BeanSerializerBase |
BeanAsArraySerializer.asArraySerializer() |
BeanSerializerBase |
BeanAsArraySerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
Constructor and Description |
---|
BeanAsArraySerializer(BeanSerializerBase src) |
BeanAsArraySerializer(BeanSerializerBase src,
String[] toIgnore) |
UnwrappingBeanSerializer(BeanSerializerBase src,
NameTransformer transformer)
Constructor used for creating unwrapping instance of a
standard
BeanSerializer |
Modifier and Type | Method and Description |
---|---|
protected abstract BeanSerializerBase |
BeanSerializerBase.asArraySerializer()
Fluent factory for creating a variant that output POJO as a
JSON Array.
|
protected abstract BeanSerializerBase |
BeanSerializerBase.withIgnorals(String[] toIgnore)
Fluent factory used for creating a new instance with additional
set of properties to ignore (from properties this instance otherwise has)
|
abstract BeanSerializerBase |
BeanSerializerBase.withObjectIdWriter(ObjectIdWriter objectIdWriter)
Fluent factory used for creating a new instance with different
ObjectIdWriter . |
Constructor and Description |
---|
BeanSerializerBase(BeanSerializerBase src)
Copy-constructor that is useful for sub-classes that just want to
copy all super-class properties without modifications.
|
BeanSerializerBase(BeanSerializerBase src,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializerBase(BeanSerializerBase src,
NameTransformer unwrapper)
Copy-constructor that will also rename properties with given prefix
(if it's non-empty)
|
BeanSerializerBase(BeanSerializerBase src,
ObjectIdWriter objectIdWriter) |
BeanSerializerBase(BeanSerializerBase src,
String[] toIgnore) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.