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 |
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 JsonAutoDetect.Visibility |
JsonAutoDetect.Visibility.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonAutoDetect.Visibility[] |
JsonAutoDetect.Visibility.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) |
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
|
MapperConfig.Base |
MapperConfig.Base.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
DeserializationConfig |
DeserializationConfig.withVisibility(JsonMethod forMethod,
JsonAutoDetect.Visibility visibility) |
Modifier and Type | Field and Description |
---|---|
protected JsonAutoDetect.Visibility |
VisibilityChecker.Std._creatorMinLevel |
protected JsonAutoDetect.Visibility |
VisibilityChecker.Std._fieldMinLevel |
protected JsonAutoDetect.Visibility |
VisibilityChecker.Std._getterMinLevel |
protected JsonAutoDetect.Visibility |
VisibilityChecker.Std._isGetterMinLevel |
protected JsonAutoDetect.Visibility |
VisibilityChecker.Std._setterMinLevel |
Modifier and Type | Method and Description |
---|---|
T |
VisibilityChecker.with(JsonAutoDetect.Visibility v)
Builder method that will create and return an instance that has specified
JsonAutoDetect.Visibility value to use for all property elements. |
VisibilityChecker.Std |
VisibilityChecker.Std.with(JsonAutoDetect.Visibility v) |
T |
VisibilityChecker.withCreatorVisibility(JsonAutoDetect.Visibility v)
Builder method that will return a checker instance that has
specified minimum visibility level for creator methods
(constructors, factory methods)
|
VisibilityChecker.Std |
VisibilityChecker.Std.withCreatorVisibility(JsonAutoDetect.Visibility v) |
T |
VisibilityChecker.withFieldVisibility(JsonAutoDetect.Visibility v)
Builder method that will return a checker instance that has
specified minimum visibility level for fields.
|
VisibilityChecker.Std |
VisibilityChecker.Std.withFieldVisibility(JsonAutoDetect.Visibility v) |
T |
VisibilityChecker.withGetterVisibility(JsonAutoDetect.Visibility v)
Builder method that will return a checker instance that has
specified minimum visibility level for regular ("getXxx") getters.
|
VisibilityChecker.Std |
VisibilityChecker.Std.withGetterVisibility(JsonAutoDetect.Visibility v) |
T |
VisibilityChecker.withIsGetterVisibility(JsonAutoDetect.Visibility v)
Builder method that will return a checker instance that has
specified minimum visibility level for "is-getters" ("isXxx").
|
VisibilityChecker.Std |
VisibilityChecker.Std.withIsGetterVisibility(JsonAutoDetect.Visibility v) |
T |
VisibilityChecker.withSetterVisibility(JsonAutoDetect.Visibility v)
Builder method that will return a checker instance that has
specified minimum visibility level for setters.
|
VisibilityChecker.Std |
VisibilityChecker.Std.withSetterVisibility(JsonAutoDetect.Visibility v) |
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) |
Constructor and Description |
---|
VisibilityChecker.Std(JsonAutoDetect.Visibility v)
Costructor that will assign given visibility value for all
properties.
|
VisibilityChecker.Std(JsonAutoDetect.Visibility getter,
JsonAutoDetect.Visibility isGetter,
JsonAutoDetect.Visibility setter,
JsonAutoDetect.Visibility creator,
JsonAutoDetect.Visibility field)
Constructor that allows directly specifying minimum visibility levels to use
|