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. |
BeanSerializerBase |
BeanSerializer.withFilterId(Object filterId) |
protected BeanSerializerBase |
BeanSerializer.withIgnorals(String[] toIgnore) |
BeanSerializerBase |
BeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
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,
ObjectIdWriter objectIdWriter,
Object filterId) |
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 |
UnwrappingBeanSerializer.withFilterId(Object filterId) |
BeanSerializerBase |
BeanAsArraySerializer.withFilterId(Object filterId) |
protected BeanSerializerBase |
UnwrappingBeanSerializer.withIgnorals(String[] toIgnore) |
BeanSerializerBase |
UnwrappingBeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
BeanSerializerBase |
BeanAsArraySerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
Constructor and Description |
---|
BeanAsArraySerializer(BeanSerializerBase src) |
BeanAsArraySerializer(BeanSerializerBase src,
ObjectIdWriter oiw,
Object filterId) |
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()
Mutant factory for creating a variant that output POJO as a
JSON Array.
|
abstract BeanSerializerBase |
BeanSerializerBase.withFilterId(Object filterId)
Mutant factory used for creating a new instance with different
filter id (used with
JsonFilter annotation) |
protected abstract BeanSerializerBase |
BeanSerializerBase.withIgnorals(String[] toIgnore)
Mutant 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)
Mutant 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,
ObjectIdWriter objectIdWriter,
Object filterId) |
BeanSerializerBase(BeanSerializerBase src,
String[] toIgnore) |
Copyright © 2008–2016 FasterXML. All rights reserved.