We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e6cef9 commit 4a074aaCopy full SHA for 4a074aa
src/main/java/com/fasterxml/jackson/databind/MapperFeature.java
@@ -1,5 +1,6 @@
1
package com.fasterxml.jackson.databind;
2
3
+import com.fasterxml.jackson.annotation.JsonCreator;
4
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
5
import com.fasterxml.jackson.databind.cfg.ConfigFeature;
6
@@ -213,6 +214,13 @@ public enum MapperFeature implements ConfigFeature
213
214
*/
215
INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES(true),
216
217
+ /**
218
+ * Feature that determines handling of creators.
219
+ * When enabled, in a case where JsonCreator mode can't be resolved it will be
220
+ * resolved as {@link JsonCreator.Mode.PROPERTIES} instead.
221
+ *
222
+ * @since 2.9
223
+ */
224
SET_PROPERTY_CREATOR_AS_DEFAULT(false),
225
226
/*
0 commit comments