Uses of Class
com.fasterxml.jackson.databind.cfg.ConstructorDetector
-
Packages that use ConstructorDetector 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. -
-
Uses of ConstructorDetector in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as ConstructorDetector Modifier and Type Field Description protected ConstructorDetector
DeserializationConfig. _ctorDetector
Methods in com.fasterxml.jackson.databind that return ConstructorDetector Modifier and Type Method Description ConstructorDetector
DeserializationConfig. getConstructorDetector()
Methods in com.fasterxml.jackson.databind with parameters of type ConstructorDetector Modifier and Type Method Description ObjectMapper
ObjectMapper. setConstructorDetector(ConstructorDetector cd)
Method for specifyingConstructorDetector
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)
-
Uses of ConstructorDetector in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as ConstructorDetector Modifier and Type Field Description static ConstructorDetector
ConstructorDetector. DEFAULT
Instance used by default, which: UsesConstructorDetector.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 packagesjava.*
andjavax.*
static ConstructorDetector
ConstructorDetector. EXPLICIT_ONLY
Instance similar toDEFAULT
except that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.REQUIRE_MODE
.static ConstructorDetector
ConstructorDetector. USE_DELEGATING
Instance similar toDEFAULT
except that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.DELEGATING
.static ConstructorDetector
ConstructorDetector. USE_PROPERTIES_BASED
Instance similar toDEFAULT
except that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.PROPERTIES
.Methods in com.fasterxml.jackson.databind.cfg that return ConstructorDetector Modifier and Type Method Description ConstructorDetector
ConstructorDetector. withAllowJDKTypeConstructors(boolean state)
ConstructorDetector
ConstructorDetector. withRequireAnnotation(boolean state)
ConstructorDetector
ConstructorDetector. withSingleArgMode(ConstructorDetector.SingleArgConstructor singleArgMode)
Methods in com.fasterxml.jackson.databind.cfg with parameters of type ConstructorDetector Modifier and Type Method Description B
MapperBuilder. constructorDetector(ConstructorDetector cd)
Method for specifyingConstructorDetector
to use for determining some aspects of creator auto-detection (specifically auto-detection of constructor, and in particular behavior with single-argument constructors). -
Uses of ConstructorDetector in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type ConstructorDetector Modifier and Type Method 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.
-