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 |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
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 PropertyAccessor |
PropertyAccessor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyAccessor[] |
PropertyAccessor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static JsonAutoDetect.Value |
JsonAutoDetect.Value.construct(PropertyAccessor acc,
JsonAutoDetect.Visibility visibility)
Factory method for cnstructing instance with visibility of specified accessor
(or, in case of
ALL , all of them) set as specified; and the
rest (if any) set as JsonAutoDetect.Visibility.DEFAULT ). |
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. |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.visibility(PropertyAccessor forMethod,
JsonAutoDetect.Visibility visibility) |
Modifier and Type | Method and Description |
---|---|
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) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.