Package | Description |
---|---|
org.codehaus.jackson.annotate |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
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 | Method and Description |
---|---|
static JsonMethod |
JsonMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonMethod[] |
JsonMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility)
Convenience method that allows changing configuration for
underlying
VisibilityChecker s, to change details of what kinds of
properties are auto-detected. |
SerializationConfig |
SerializationConfig.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
DeserializationConfig |
DeserializationConfig.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
abstract T |
MapperConfig.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility)
Method for constructing and returning a new instance with different
minimal visibility level for specified property type
NOTE: make sure to register new instance with
ObjectMapper
if directly calling this method. |
MapperConfig.Base |
MapperConfig.Base.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
Modifier and Type | Method and Description |
---|---|
T |
VisibilityChecker.withVisibility(JsonMethod method,
JsonAutoDetect.Visibility v)
Builder method that will create and return an instance that has specified
JsonAutoDetect.Visibility value to use for specified property. |
VisibilityChecker.Std |
VisibilityChecker.Std.withVisibility(JsonMethod method,
JsonAutoDetect.Visibility v) |