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.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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Method and Description |
---|---|
static JsonParser.Feature |
JsonParser.Feature.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.Feature[] |
JsonParser.Feature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JsonFactory |
JsonFactory.configure(JsonParser.Feature f,
boolean state)
Method for enabling or disabling specified parser feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParser.configure(JsonParser.Feature f,
boolean state)
Method for enabling or disabling specified feature
(check
JsonParser.Feature for list of features) |
JsonFactory |
JsonFactory.disable(JsonParser.Feature f)
Method for disabling specified parser features
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParser.disable(JsonParser.Feature f)
Method for disabling specified feature
(check
JsonParser.Feature for list of features) |
void |
JsonParser.disableFeature(JsonParser.Feature f)
Deprecated.
Use
JsonParser.disable(Feature) instead |
void |
JsonFactory.disableParserFeature(JsonParser.Feature f)
Deprecated.
Use
JsonFactory.disable(JsonParser.Feature) instead |
JsonFactory |
JsonFactory.enable(JsonParser.Feature f)
Method for enabling specified parser feature
(check
JsonParser.Feature for list of features) |
JsonParser |
JsonParser.enable(JsonParser.Feature f)
Method for enabling specified parser feature
(check
JsonParser.Feature for list of features) |
void |
JsonParser.enableFeature(JsonParser.Feature f)
Deprecated.
Use
JsonParser.enable(Feature) instead |
void |
JsonFactory.enableParserFeature(JsonParser.Feature f)
Deprecated.
Use
JsonFactory.enable(JsonParser.Feature) instead |
boolean |
JsonFactory.isEnabled(JsonParser.Feature f)
Checked whether specified parser feature is enabled.
|
boolean |
JsonParser.isEnabled(JsonParser.Feature f)
Method for checking whether specified
JsonParser.Feature
is enabled. |
boolean |
JsonParser.isFeatureEnabled(JsonParser.Feature f)
Deprecated.
Use
JsonParser.isEnabled(Feature) instead |
boolean |
JsonFactory.isParserFeatureEnabled(JsonParser.Feature f)
Deprecated.
Use
JsonFactory.isEnabled(JsonParser.Feature) instead |
void |
JsonParser.setFeature(JsonParser.Feature f,
boolean state)
Deprecated.
|
void |
JsonFactory.setParserFeature(JsonParser.Feature f,
boolean state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JacksonJsonProvider |
JacksonJsonProvider.configure(JsonParser.Feature f,
boolean state) |
void |
MapperConfigurator.configure(JsonParser.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.disable(JsonParser.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.enable(JsonParser.Feature f,
boolean state) |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.configure(JsonParser.Feature f,
boolean state)
Method for changing state of an on/off
JsonParser feature for
JsonFactory instance this object mapper uses. |
boolean |
Module.SetupContext.isEnabled(JsonParser.Feature f) |
boolean |
ObjectMapper.isEnabled(JsonParser.Feature f)
Convenience method, equivalent to:
getJsonFactory().isEnabled(f);
|
Modifier and Type | Method and Description |
---|---|
JsonParser |
JsonParserDelegate.disable(JsonParser.Feature f) |
JsonParser |
JsonParserDelegate.enable(JsonParser.Feature f) |
boolean |
JsonParserDelegate.isEnabled(JsonParser.Feature f) |