Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
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.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
com.fasterxml.jackson.jaxrs.base | |
com.fasterxml.jackson.jaxrs.cfg |
Modifier and Type | Method and Description |
---|---|
JsonGenerator.Feature |
StreamWriteFeature.mappedFeature() |
static JsonGenerator.Feature |
JsonGenerator.Feature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonGenerator.Feature[] |
JsonGenerator.Feature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TSFBuilder._legacyDisable(JsonGenerator.Feature f) |
protected void |
TSFBuilder._legacyEnable(JsonGenerator.Feature f) |
JsonFactory |
JsonFactory.configure(JsonGenerator.Feature f,
boolean state)
Method for enabling or disabling specified generator feature
(check
JsonGenerator.Feature for list of features) |
JsonGenerator |
JsonGenerator.configure(JsonGenerator.Feature f,
boolean state)
Method for enabling or disabling specified feature:
check
JsonGenerator.Feature for list of available features. |
JsonFactory |
JsonFactory.disable(JsonGenerator.Feature f)
Method for disabling specified generator feature
(check
JsonGenerator.Feature for list of features) |
abstract JsonGenerator |
JsonGenerator.disable(JsonGenerator.Feature f)
Method for disabling specified feature
(check
JsonGenerator.Feature for list of features) |
JsonFactory |
JsonFactory.enable(JsonGenerator.Feature f)
Method for enabling specified generator features
(check
JsonGenerator.Feature for list of features) |
abstract JsonGenerator |
JsonGenerator.enable(JsonGenerator.Feature f)
Method for enabling specified generator feature:
check
JsonGenerator.Feature for list of available features. |
boolean |
JsonFactory.isEnabled(JsonGenerator.Feature f)
Check whether specified generator feature is enabled.
|
abstract boolean |
JsonGenerator.isEnabled(JsonGenerator.Feature f)
Method for checking whether given feature is enabled.
|
abstract boolean |
TokenStreamFactory.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
GeneratorBase.disable(JsonGenerator.Feature f) |
JsonGenerator |
GeneratorBase.enable(JsonGenerator.Feature f) |
boolean |
GeneratorBase.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
JsonGenerator.Feature |
JsonWriteFeature.mappedFeature() |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorImpl.disable(JsonGenerator.Feature f) |
JsonGenerator |
JsonGeneratorImpl.enable(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorDelegate.disable(JsonGenerator.Feature f) |
JsonGenerator |
JsonGeneratorDelegate.enable(JsonGenerator.Feature f) |
boolean |
JsonGeneratorDelegate.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.configure(JsonGenerator.Feature f,
boolean state)
Method for changing state of an on/off
JsonGenerator feature for
generator instances this object mapper creates. |
ObjectMapper |
ObjectMapper.disable(JsonGenerator.Feature... features)
Method for disabling specified
JsonGenerator.Feature s
for parser instances this object mapper creates. |
ObjectMapper |
ObjectMapper.enable(JsonGenerator.Feature... features)
Method for enabling specified
JsonGenerator.Feature s
for parser instances this object mapper creates. |
boolean |
Module.SetupContext.isEnabled(JsonGenerator.Feature f) |
boolean |
ObjectMapper.isEnabled(JsonGenerator.Feature f) |
boolean |
ObjectWriter.isEnabled(JsonGenerator.Feature f) |
boolean |
SerializationConfig.isEnabled(JsonGenerator.Feature f,
JsonFactory factory)
Accessor method that first checks if we have any overrides
for feature, and only if not, checks state of passed-in
factory.
|
ObjectWriter |
ObjectWriter.with(JsonGenerator.Feature feature) |
SerializationConfig |
SerializationConfig.with(JsonGenerator.Feature feature)
Fluent factory method that will construct and return a new configuration
object instance with specified feature enabled.
|
ObjectWriter |
ObjectWriter.withFeatures(JsonGenerator.Feature... features) |
SerializationConfig |
SerializationConfig.withFeatures(JsonGenerator.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
ObjectWriter |
ObjectWriter.without(JsonGenerator.Feature feature) |
SerializationConfig |
SerializationConfig.without(JsonGenerator.Feature feature)
Fluent factory method that will construct and return a new configuration
object instance with specified feature disabled.
|
ObjectWriter |
ObjectWriter.withoutFeatures(JsonGenerator.Feature... features) |
SerializationConfig |
SerializationConfig.withoutFeatures(JsonGenerator.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.configure(JsonGenerator.Feature feature,
boolean state) |
B |
MapperBuilder.disable(JsonGenerator.Feature... features) |
B |
MapperBuilder.enable(JsonGenerator.Feature... features) |
boolean |
MapperBuilder.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
TokenBuffer.disable(JsonGenerator.Feature f) |
JsonGenerator |
TokenBuffer.enable(JsonGenerator.Feature f) |
boolean |
TokenBuffer.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
THIS |
ProviderBase.configure(JsonGenerator.Feature f,
boolean state) |
THIS |
ProviderBase.disable(JsonGenerator.Feature f) |
THIS |
ProviderBase.enable(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
void |
MapperConfiguratorBase.configure(JsonGenerator.Feature f,
boolean state) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.