Package | Description |
---|---|
org.codehaus.jackson |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.impl |
Parser and generator implementation classes that Jackson
defines and uses.
|
org.codehaus.jackson.jaxrs |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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.configure(JsonGenerator.Feature f,
boolean state)
Method for enabling or disabling specified generator feature
(check
JsonGenerator.Feature for list of features) |
abstract JsonGenerator |
JsonGenerator.disable(JsonGenerator.Feature f)
Method for disabling specified features
(check
JsonGenerator.Feature for list of features) |
JsonFactory |
JsonFactory.disable(JsonGenerator.Feature f)
Method for disabling specified generator feature
(check
JsonGenerator.Feature for list of features) |
void |
JsonGenerator.disableFeature(JsonGenerator.Feature f)
Deprecated.
|
void |
JsonFactory.disableGeneratorFeature(JsonGenerator.Feature f)
Deprecated.
Use
JsonFactory.disable(JsonGenerator.Feature) instead |
abstract JsonGenerator |
JsonGenerator.enable(JsonGenerator.Feature f)
Method for enabling specified parser features:
check
JsonGenerator.Feature for list of available features. |
JsonFactory |
JsonFactory.enable(JsonGenerator.Feature f)
Method for enabling specified generator features
(check
JsonGenerator.Feature for list of features) |
void |
JsonGenerator.enableFeature(JsonGenerator.Feature f)
Deprecated.
|
void |
JsonFactory.enableGeneratorFeature(JsonGenerator.Feature f)
Deprecated.
Use
JsonFactory.enable(JsonGenerator.Feature) instead |
abstract boolean |
JsonGenerator.isEnabled(JsonGenerator.Feature f)
Method for checking whether given feature is enabled.
|
boolean |
JsonFactory.isEnabled(JsonGenerator.Feature f)
Check whether specified generator feature is enabled.
|
boolean |
JsonGenerator.isFeatureEnabled(JsonGenerator.Feature f)
Deprecated.
|
boolean |
JsonFactory.isGeneratorFeatureEnabled(JsonGenerator.Feature f)
Deprecated.
Use
JsonFactory.isEnabled(JsonGenerator.Feature) instead |
void |
JsonGenerator.setFeature(JsonGenerator.Feature f,
boolean state)
Deprecated.
|
void |
JsonFactory.setGeneratorFeature(JsonGenerator.Feature f,
boolean state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorBase.disable(JsonGenerator.Feature f) |
JsonGenerator |
JsonGeneratorBase.enable(JsonGenerator.Feature f) |
boolean |
JsonGeneratorBase.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
void |
MapperConfigurator.configure(JsonGenerator.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.configure(JsonGenerator.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.disable(JsonGenerator.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.enable(JsonGenerator.Feature f,
boolean state) |
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
JsonFactory instance this object mapper uses. |
boolean |
ObjectMapper.isEnabled(JsonGenerator.Feature f)
Convenience method, equivalent to:
|
boolean |
Module.SetupContext.isEnabled(JsonGenerator.Feature f) |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
TokenBuffer.disable(JsonGenerator.Feature f) |
JsonGenerator |
JsonGeneratorDelegate.disable(JsonGenerator.Feature f) |
JsonGenerator |
TokenBuffer.enable(JsonGenerator.Feature f) |
JsonGenerator |
JsonGeneratorDelegate.enable(JsonGenerator.Feature f) |
boolean |
TokenBuffer.isEnabled(JsonGenerator.Feature f) |
boolean |
JsonGeneratorDelegate.isEnabled(JsonGenerator.Feature f) |