File tree 1 file changed +5
-2
lines changed
src/main/java/com/fasterxml/jackson/databind
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ public enum DefaultTyping {
188
188
189
189
/**
190
190
* Value that means that default typing will be used for
191
- * all non-final types, with exception of small number of
191
+ * all types, with exception of small number of
192
192
* "natural" types (String, Boolean, Integer, Double) that
193
193
* can be correctly inferred from JSON, and primitives (which
194
194
* can not be polymorphic either).
@@ -200,7 +200,10 @@ public enum DefaultTyping {
200
200
* if declared value type of a property is {@code final} -- for example,
201
201
* properties of type {@code long} (or wrapper {@code Long}).
202
202
*<p>
203
- * Note that the only known use case for this setting is for serialization
203
+ * Note that this is rarely the option you should use as it results
204
+ * in adding type information in many places where it should not be needed:
205
+ * make sure you understand its behavior.
206
+ * The only known use case for this setting is for serialization
204
207
* when passing instances of final class, and base type is not
205
208
* separately specified.
206
209
*
You can’t perform that action at this time.
0 commit comments