Package | Description |
---|---|
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.deser |
Contains implementation classes of deserialization part of
data binding.
|
Modifier and Type | Field and Description |
---|---|
protected ConstructorDetector |
DeserializationConfig._ctorDetector |
Modifier and Type | Method and Description |
---|---|
ConstructorDetector |
DeserializationConfig.getConstructorDetector() |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setConstructorDetector(ConstructorDetector cd)
Method for specifying
ConstructorDetector to use for
determining some aspects of creator auto-detection (specifically
auto-detection of constructor, and in particular behavior with
single-argument constructors). |
DeserializationConfig |
DeserializationConfig.with(ConstructorDetector ctorDetector) |
Modifier and Type | Field and Description |
---|---|
static ConstructorDetector |
ConstructorDetector.DEFAULT
Instance used by default, which:
Uses
ConstructorDetector.SingleArgConstructor.HEURISTIC for single-argument constructor case
Does not require explicit @JsonCreator annotations (so allows
auto-detection of Visible constructors} (except for JDK types)
Does not allow auto-detection of Visible constructors for so-called JDK
types; that is, classes in packages java.* and javax.*
|
static ConstructorDetector |
ConstructorDetector.EXPLICIT_ONLY
Instance similar to
DEFAULT except that for single-argument case
uses setting of ConstructorDetector.SingleArgConstructor.REQUIRE_MODE . |
static ConstructorDetector |
ConstructorDetector.USE_DELEGATING
Instance similar to
DEFAULT except that for single-argument case
uses setting of ConstructorDetector.SingleArgConstructor.DELEGATING . |
static ConstructorDetector |
ConstructorDetector.USE_PROPERTIES_BASED
Instance similar to
DEFAULT except that for single-argument case
uses setting of ConstructorDetector.SingleArgConstructor.PROPERTIES . |
Modifier and Type | Method and Description |
---|---|
ConstructorDetector |
ConstructorDetector.withAllowJDKTypeConstructors(boolean state) |
ConstructorDetector |
ConstructorDetector.withRequireAnnotation(boolean state) |
ConstructorDetector |
ConstructorDetector.withSingleArgMode(ConstructorDetector.SingleArgConstructor singleArgMode) |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.constructorDetector(ConstructorDetector cd)
Method for specifying
ConstructorDetector to use for
determining some aspects of creator auto-detection (specifically
auto-detection of constructor, and in particular behavior with
single-argument constructors). |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicDeserializerFactory._addExplicitAnyCreator(DeserializationContext ctxt,
BeanDescription beanDesc,
CreatorCollector creators,
CreatorCandidate candidate,
ConstructorDetector ctorDetector)
Helper method called when there is explicit "is-creator" marker,
but no mode declaration.
|
Copyright © 2008–2020 FasterXML. All rights reserved.