MapperFeature (jackson-databind 2.12.0 API) (original) (raw)

Enum Constant and Description

[ACCEPT_CASE_INSENSITIVE_ENUMS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT%5FCASE%5FINSENSITIVE%5FENUMS)

Feature that determines if Enum deserialization should be case sensitive or not.

[ACCEPT_CASE_INSENSITIVE_PROPERTIES](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT%5FCASE%5FINSENSITIVE%5FPROPERTIES)

Feature that will allow for more forgiving deserialization of incoming JSON.

[ACCEPT_CASE_INSENSITIVE_VALUES](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT%5FCASE%5FINSENSITIVE%5FVALUES)

Feature that permits parsing some enumerated text-based value types but ignoring the case of the values on deserialization: for example, date/time type deserializers.

[ALLOW_COERCION_OF_SCALARS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW%5FCOERCION%5FOF%5FSCALARS)

Feature that determines whether coercions from secondary representations are allowed for simple non-textual scalar types: numbers and booleans.

[ALLOW_EXPLICIT_PROPERTY_RENAMING](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW%5FEXPLICIT%5FPROPERTY%5FRENAMING)

Feature that when enabled will allow explicitly named properties (i.e., fields or methods annotated with JsonProperty("explicitName")) to be re-named by a PropertyNamingStrategy, if one is configured.

[ALLOW_FINAL_FIELDS_AS_MUTATORS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW%5FFINAL%5FFIELDS%5FAS%5FMUTATORS)

Feature that determines whether member fields declared as 'final' may be auto-detected to be used mutators (used to change value of the logical property) or not.

[ALLOW_VOID_VALUED_PROPERTIES](../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW%5FVOID%5FVALUED%5FPROPERTIES)

Feature that determines whether nominal property type of Void is allowed for Getter methods to indicate null valued pseudo-property or not.

[AUTO_DETECT_CREATORS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO%5FDETECT%5FCREATORS)

Feature that determines whether "creator" methods are automatically detected by consider public constructors, and static single argument methods with name "valueOf".

[AUTO_DETECT_FIELDS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO%5FDETECT%5FFIELDS)

Feature that determines whether non-static fields are recognized as properties.

[AUTO_DETECT_GETTERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO%5FDETECT%5FGETTERS)

Feature that determines whether regular "getter" methods are automatically detected based on standard Bean naming convention or not.

[AUTO_DETECT_IS_GETTERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO%5FDETECT%5FIS%5FGETTERS)

Feature that determines whether "is getter" methods are automatically detected based on standard Bean naming convention or not.

[AUTO_DETECT_SETTERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO%5FDETECT%5FSETTERS)

Feature that determines whether "setter" methods are automatically detected based on standard Bean naming convention or not.

[BLOCK_UNSAFE_POLYMORPHIC_BASE_TYPES](../../../../com/fasterxml/jackson/databind/MapperFeature.html#BLOCK%5FUNSAFE%5FPOLYMORPHIC%5FBASE%5FTYPES)

Setting that may be enabled to reconfigure default PolymorphicTypeValidator used by legacy ObjectMapper.enableDefaultTyping() methods as well as default used for annotation-based polymorphic handling so that it usesDefaultBaseTypeLimitingValidator.

[CAN_OVERRIDE_ACCESS_MODIFIERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN%5FOVERRIDE%5FACCESS%5FMODIFIERS)

Feature that determines whether method and field access modifier settings can be overridden when accessing properties.

[DEFAULT_VIEW_INCLUSION](../../../../com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT%5FVIEW%5FINCLUSION)

Feature that determines whether properties that have no view annotations are included in JSON serialization views (seeJsonView for more details on JSON Views).

[IGNORE_DUPLICATE_MODULE_REGISTRATIONS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#IGNORE%5FDUPLICATE%5FMODULE%5FREGISTRATIONS)

Feature that determines whether multiple registrations of same module should be ignored or not; if enabled, only the first registration call results in module being called, and possible duplicate calls are silently ignored; if disabled, no checking is done and all registration calls are dispatched to module.

[IGNORE_MERGE_FOR_UNMERGEABLE](../../../../com/fasterxml/jackson/databind/MapperFeature.html#IGNORE%5FMERGE%5FFOR%5FUNMERGEABLE)

Setting that determines what happens if an attempt is made to explicitly "merge" value of a property, where value does not support merging; either merging is skipped and new value is created (true) or an exception is thrown (false).

[INFER_BUILDER_TYPE_BINDINGS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER%5FBUILDER%5FTYPE%5FBINDINGS)

Feature that enables inferring builder type bindings from the value type being deserialized.

[INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES](../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER%5FCREATOR%5FFROM%5FCONSTRUCTOR%5FPROPERTIES)

Feature that determines handling of java.beans.ConstructorProperties annotation: when enabled, it is considered as alias ofJsonCreator, to mean that constructor should be considered a property-based Creator; when disabled, only constructor parameter name information is used, but constructor is NOT considered an explicit Creator (although may be discovered as one using other annotations or heuristics).

[INFER_PROPERTY_MUTATORS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER%5FPROPERTY%5FMUTATORS)

Feature that determines whether member mutators (fields and setters) may be "pulled in" even if they are not visible, as long as there is a visible accessor (getter or field) with same name.

[OVERRIDE_PUBLIC_ACCESS_MODIFIERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#OVERRIDE%5FPUBLIC%5FACCESS%5FMODIFIERS)

[PROPAGATE_TRANSIENT_MARKER](../../../../com/fasterxml/jackson/databind/MapperFeature.html#PROPAGATE%5FTRANSIENT%5FMARKER)

Feature that determines how transient modifier for fields is handled: if disabled, it is only taken to mean exclusion of the field as accessor; if true, it is taken to imply removal of the whole property.

[REQUIRE_SETTERS_FOR_GETTERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#REQUIRE%5FSETTERS%5FFOR%5FGETTERS)

Feature that determines whether getters (getter methods) can be auto-detected if there is no matching mutator (setter, constructor parameter or field) or not: if set to true, only getters that match a mutator are auto-discovered; if false, all auto-detectable getters can be discovered.

[SORT_CREATOR_PROPERTIES_FIRST](../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT%5FCREATOR%5FPROPERTIES%5FFIRST)

Feature that defines whether Creator properties (ones passed through constructor or static factory method) should be sorted before other properties for which no explicit order is specified, in case where alphabetic ordering is to be used for such properties.

[SORT_PROPERTIES_ALPHABETICALLY](../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT%5FPROPERTIES%5FALPHABETICALLY)

Feature that defines default property serialization order used for POJO properties.

[USE_ANNOTATIONS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FANNOTATIONS)

Feature that determines whether annotation introspection is used for configuration; if enabled, configuredAnnotationIntrospector will be used: if disabled, no annotations are considered.

[USE_BASE_TYPE_AS_DEFAULT_IMPL](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FBASE%5FTYPE%5FAS%5FDEFAULT%5FIMPL)

Feature that specifies whether the declared base type of a polymorphic value is to be used as the "default" implementation, if no explicit default class is specified via @JsonTypeInfo.defaultImpl annotation.

[USE_GETTERS_AS_SETTERS](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FGETTERS%5FAS%5FSETTERS)

Feature that determines whether otherwise regular "getter" methods (but only ones that handle Collections and Maps, not getters of other type) can be used for purpose of getting a reference to a Collection and Map to modify the property, without requiring a setter method.

[USE_STATIC_TYPING](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FSTATIC%5FTYPING)

Feature that determines whether the type detection for serialization should be using actual dynamic runtime type, or declared static type.

[USE_STD_BEAN_NAMING](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FSTD%5FBEAN%5FNAMING)

Feature that may be enabled to enforce strict compatibility with Bean name introspection, instead of slightly different mechanism Jackson defaults to.

[USE_WRAPPER_NAME_AS_PROPERTY_NAME](../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE%5FWRAPPER%5FNAME%5FAS%5FPROPERTY%5FNAME)