Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
Modifier and Type | Field and Description |
---|---|
protected FilterProvider |
SerializationConfig._filterProvider
Object used for resolving filter ids to filter instances.
|
Modifier and Type | Method and Description |
---|---|
FilterProvider |
SerializerProvider.getFilterProvider()
Convenience method for accessing provider to find serialization filters used,
equivalent to calling:
|
FilterProvider |
SerializationConfig.getFilterProvider()
Method for getting provider used for locating filters given
id (which is usually provided with filter annotations).
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setFilterProvider(FilterProvider filterProvider)
Method for configuring this mapper to use specified
FilterProvider for
mapping Filter Ids to actual filter instances. |
void |
ObjectMapper.setFilters(FilterProvider filterProvider)
Deprecated.
Since 2.6, use
ObjectMapper.setFilterProvider(com.fasterxml.jackson.databind.ser.FilterProvider) instead (allows chaining) |
ObjectWriter |
ObjectWriter.with(FilterProvider filterProvider)
Method that will construct a new instance that uses specified
provider for resolving filter instances by id.
|
SerializationConfig |
SerializationConfig.withFilters(FilterProvider filterProvider) |
ObjectWriter |
ObjectMapper.writer(FilterProvider filterProvider)
Factory method for constructing
ObjectWriter that will
serialize objects using specified filter provider. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleFilterProvider
Simple
FilterProvider implementation that just stores
direct id-to-filter mapping. |
Copyright © 2008–2016 FasterXML. All rights reserved.