Skip to content

Commit 1d3cf21

Browse files
committed
Update Javadoc for SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS to reflect upcoming 3.0 change
1 parent 7664e53 commit 1d3cf21

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,9 @@ public enum SerializationFeature implements ConfigFeature
260260
* representation may mean either simple number, or an array of numbers,
261261
* depending on type.
262262
*<p>
263-
* Note: whether {@link java.util.Map} keys are serialized as Strings
264-
* or not is controlled using {@link #WRITE_DATE_KEYS_AS_TIMESTAMPS}.
265-
*<p>
266-
* Feature is enabled by default, so that period/duration are by default
267-
* serialized as timestamps.
263+
* Feature is enabled by default in Jackson 2.x, so that period/duration values
264+
* are by default serialized as timestamps.
265+
* It will be disabled by default in Jackson 3.x.
268266
*
269267
* @since 2.5
270268
*/

0 commit comments

Comments
 (0)