File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/main/java/com/fasterxml/jackson/annotation Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4545 *<p>
4646 * In addition to {@code Map}s, {@code content} concept is also supported for referential
4747 * types (like {@link java.util.concurrent.atomic.AtomicReference}).
48- * Note that `content` is NOT currently (as of Jackson 2.20) supported for
48+ *<pre>
49+ * (For Jackson 2 only) Note that `content` is NOT currently (as of Jackson 2.20) supported for
4950 * arrays or {@link java.util.Collection}s; support may be added in
5051 * future versions (but if so, will be configurable to allow disabling it).
52+ *<pre>
53+ * (For Jackson 3 only) As of Jackson 3.1.0, {@link #content()} also supports {@link java.util.Collection}'s
54+ * when {@code tools.jackson.databind.SerializationFeature#APPLY_JSON_INCLUDE_FOR_COLLECTIONS}
55+ * feature is enabled --disabled by default for backward-compatibility. (see [databind#5369] for more detail)
56+ * Note that `content` is NOT currently (as of Jackson 3.1.0) supported for arrays, but may be supported in future versions.
5157 *
5258 * @since 2.0
5359 */
You can’t perform that action at this time.
0 commit comments