Skip to content

Commit 4a074aa

Browse files
committed
added javadoc to new feature in MapperFeature
1 parent 0e6cef9 commit 4a074aa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/fasterxml/jackson/databind/MapperFeature.java

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.fasterxml.jackson.databind;
22

3+
import com.fasterxml.jackson.annotation.JsonCreator;
34
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
45
import com.fasterxml.jackson.databind.cfg.ConfigFeature;
56

@@ -213,6 +214,13 @@ public enum MapperFeature implements ConfigFeature
213214
*/
214215
INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES(true),
215216

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+
*/
216224
SET_PROPERTY_CREATOR_AS_DEFAULT(false),
217225

218226
/*

0 commit comments

Comments
 (0)