Package | Description |
---|---|
com.fasterxml.jackson.annotation |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
com.fasterxml.jackson.databind |
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 |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.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(PropertyAccessor 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(PropertyAccessor forMethod,
JsonAutoDetect.Visibility visibility) |
DeserializationConfig |
DeserializationConfig.withVisibility(PropertyAccessor forMethod,
JsonAutoDetect.Visibility visibility) |
Modifier and Type | Method and Description |
---|---|
abstract T |
MapperConfigBase.withVisibility(PropertyAccessor forMethod,
JsonAutoDetect.Visibility visibility)
Method for constructing and returning a new instance with different
minimal visibility level for specified property type
|
BaseSettings |
BaseSettings.withVisibility(PropertyAccessor 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(PropertyAccessor 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(PropertyAccessor method,
JsonAutoDetect.Visibility v) |
Constructor and Description |
---|
Std(JsonAutoDetect.Visibility v)
Constructor that will assign given visibility value for all
properties.
|
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
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.