Package | Description |
---|---|
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.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
Modifier and Type | Class and Description |
---|---|
static class |
PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
A
PropertyNamingStrategy that translates typical camel case Java
property names to lower case JSON element names, separated by
underscores. |
static class |
PropertyNamingStrategy.PropertyNamingStrategyBase |
Modifier and Type | Field and Description |
---|---|
protected PropertyNamingStrategy |
MapperConfig.Base._propertyNamingStrategy
Custom property naming strategy in use, if any.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
See
PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy for details. |
Modifier and Type | Method and Description |
---|---|
PropertyNamingStrategy |
MapperConfig.getPropertyNamingStrategy() |
PropertyNamingStrategy |
MapperConfig.Base.getPropertyNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setPropertyNamingStrategy(PropertyNamingStrategy s)
Method for setting custom property naming strategy to use.
|
SerializationConfig |
SerializationConfig.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
DeserializationConfig |
DeserializationConfig.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
abstract T |
MapperConfig.withPropertyNamingStrategy(PropertyNamingStrategy strategy)
Method for constructing and returning a new instance with different
PropertyNamingStrategy
to use. |
MapperConfig.Base |
MapperConfig.Base.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
Modifier and Type | Method and Description |
---|---|
protected void |
POJOPropertiesCollector._renameUsing(PropertyNamingStrategy naming) |