Skip to content

Commit c910b59

Browse files
doljaeSeokjae Lee
authored andcommitted
docs: clarify Jackson2ObjectMapperBuilderCustomizer javadoc about overriding behavior
Signed-off-by: Seokjae Lee <seok9211@naver.com>
1 parent 50e5421 commit c910b59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

module/spring-boot-jackson/src/main/java/org/springframework/boot/jackson/autoconfigure/Jackson2ObjectMapperBuilderCustomizer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
* Callback interface that can be implemented by beans wishing to further customize the
2525
* {@link ObjectMapper} through {@link Jackson2ObjectMapperBuilder} retaining its default
2626
* auto-configuration.
27+
* Note: Depending on which methods of {@link Jackson2ObjectMapperBuilder} are used,
28+
* customizations may override or replace parts of the default auto-configuration
29+
* instead of merely adding to it.
2730
*
2831
* @author Grzegorz Poznachowski
2932
* @since 4.0.0

0 commit comments

Comments
 (0)