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 ConstructorDetectorDeserializationConfig. _ctorDetectorMethods in com.fasterxml.jackson.databind that return ConstructorDetector Modifier and Type Method Description ConstructorDetectorDeserializationConfig. getConstructorDetector()Methods in com.fasterxml.jackson.databind with parameters of type ConstructorDetector Modifier and Type Method Description ObjectMapperObjectMapper. setConstructorDetector(ConstructorDetector cd)Method for specifyingConstructorDetectorto use for determining some aspects of creator auto-detection (specifically auto-detection of constructor, and in particular behavior with single-argument constructors).DeserializationConfigDeserializationConfig. 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 ConstructorDetectorConstructorDetector. DEFAULTInstance used by default, which: UsesConstructorDetector.SingleArgConstructor.HEURISTICfor single-argument constructor case Does not require explicit@JsonCreatorannotations (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 ConstructorDetectorConstructorDetector. EXPLICIT_ONLYInstance similar toDEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.REQUIRE_MODE.static ConstructorDetectorConstructorDetector. USE_DELEGATINGInstance similar toDEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.DELEGATING.static ConstructorDetectorConstructorDetector. USE_PROPERTIES_BASEDInstance similar toDEFAULTexcept 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 ConstructorDetectorConstructorDetector. withAllowJDKTypeConstructors(boolean state)ConstructorDetectorConstructorDetector. withRequireAnnotation(boolean state)ConstructorDetectorConstructorDetector. withSingleArgMode(ConstructorDetector.SingleArgConstructor singleArgMode)Methods in com.fasterxml.jackson.databind.cfg with parameters of type ConstructorDetector Modifier and Type Method Description BMapperBuilder. constructorDetector(ConstructorDetector cd)Method for specifyingConstructorDetectorto 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 voidBasicDeserializerFactory. _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.
-