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. |
protected BeanSerializerBase |
BeanSerializer.withByNameInclusion(Set<String> toIgnore,
Set<String> toInclude) |
BeanSerializerBase |
BeanSerializer.withFilterId(Object filterId) |
BeanSerializerBase |
BeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
protected BeanSerializerBase |
BeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
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,
BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
BeanSerializer(BeanSerializerBase src,
ObjectIdWriter objectIdWriter) |
BeanSerializer(BeanSerializerBase src,
ObjectIdWriter objectIdWriter,
Object filterId) |
BeanSerializer(BeanSerializerBase src,
Set<String> toIgnore,
Set<String> toInclude) |
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 cannot be used.
|
Modifier and Type | Method and Description |
---|---|
protected BeanSerializerBase |
BeanAsArraySerializer.asArraySerializer() |
protected BeanSerializerBase |
UnwrappingBeanSerializer.asArraySerializer()
JSON Array output cannot be done if unwrapping operation is
requested; so implementation will simply return 'this'.
|
protected BeanSerializerBase |
UnwrappingBeanSerializer.withByNameInclusion(Set<String> toIgnore,
Set<String> toInclude) |
BeanSerializerBase |
BeanAsArraySerializer.withFilterId(Object filterId) |
BeanSerializerBase |
UnwrappingBeanSerializer.withFilterId(Object filterId) |
BeanSerializerBase |
BeanAsArraySerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
BeanSerializerBase |
UnwrappingBeanSerializer.withObjectIdWriter(ObjectIdWriter objectIdWriter) |
protected BeanSerializerBase |
BeanAsArraySerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
protected BeanSerializerBase |
UnwrappingBeanSerializer.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties) |
Constructor and Description |
---|
BeanAsArraySerializer(BeanSerializerBase src) |
BeanAsArraySerializer(BeanSerializerBase src,
ObjectIdWriter oiw,
Object filterId) |
BeanAsArraySerializer(BeanSerializerBase src,
Set<String> toIgnore) |
BeanAsArraySerializer(BeanSerializerBase src,
Set<String> toIgnore,
Set<String> toInclude) |
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.
|
protected abstract BeanSerializerBase |
BeanSerializerBase.withByNameInclusion(Set<String> toIgnore,
Set<String> toInclude)
Mutant factory used for creating a new instance with additional
set of properties to ignore or include (from properties this instance otherwise has)
|
abstract BeanSerializerBase |
BeanSerializerBase.withFilterId(Object filterId)
Mutant factory used for creating a new instance with different
filter id (used with
JsonFilter annotation) |
protected BeanSerializerBase |
BeanSerializerBase.withIgnorals(Set<String> toIgnore)
Deprecated.
Since 2.12
|
protected BeanSerializerBase |
BeanSerializerBase.withIgnorals(String[] toIgnore)
Deprecated.
since 2.8
|
abstract BeanSerializerBase |
BeanSerializerBase.withObjectIdWriter(ObjectIdWriter objectIdWriter)
Mutant factory used for creating a new instance with different
ObjectIdWriter . |
protected abstract BeanSerializerBase |
BeanSerializerBase.withProperties(BeanPropertyWriter[] properties,
BeanPropertyWriter[] filteredProperties)
Mutant factory used for creating a new instance with modified set
of properties.
|
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,
Set<String> toIgnore)
Deprecated.
|
BeanSerializerBase(BeanSerializerBase src,
Set<String> toIgnore,
Set<String> toInclude) |
BeanSerializerBase(BeanSerializerBase src,
String[] toIgnore)
Deprecated.
|
Copyright © 2008–2020 FasterXML. All rights reserved.