Uses of Class
com.fasterxml.jackson.databind.cfg.ConstructorDetector
Packages that use ConstructorDetector
Package
Description
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.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).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 ConstructorDetectorModifier and TypeFieldDescriptionprotected final ConstructorDetectorDeserializationConfig._ctorDetectorMethods in com.fasterxml.jackson.databind that return ConstructorDetectorMethods in com.fasterxml.jackson.databind with parameters of type ConstructorDetectorModifier and TypeMethodDescriptionObjectMapper.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).DeserializationConfig.with(ConstructorDetector ctorDetector) -
Uses of ConstructorDetector in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as ConstructorDetectorModifier and TypeFieldDescriptionstatic final 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 final ConstructorDetectorConstructorDetector.EXPLICIT_ONLYInstance similar toConstructorDetector.DEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.REQUIRE_MODE.static final ConstructorDetectorConstructorDetector.USE_DELEGATINGInstance similar toConstructorDetector.DEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.DELEGATING.static final ConstructorDetectorConstructorDetector.USE_PROPERTIES_BASEDInstance similar toConstructorDetector.DEFAULTexcept that for single-argument case uses setting ofConstructorDetector.SingleArgConstructor.PROPERTIES.Methods in com.fasterxml.jackson.databind.cfg that return ConstructorDetectorModifier and TypeMethodDescriptionConstructorDetector.withAllowJDKTypeConstructors(boolean state) ConstructorDetector.withRequireAnnotation(boolean state) ConstructorDetector.withSingleArgMode(ConstructorDetector.SingleArgConstructor singleArgMode) Methods in com.fasterxml.jackson.databind.cfg with parameters of type ConstructorDetectorModifier and TypeMethodDescriptionMapperBuilder.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 ConstructorDetectorModifier and TypeMethodDescriptionprotected 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.