Skip to content

Commit 2756424

Browse files
committed
Merge branch '3.5.x'
Closes gh-47331
2 parents 0959271 + 9c727be commit 2756424

File tree

1 file changed

+1
-1
lines changed
  • documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages

1 file changed

+1
-1
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/spring-mvc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ If you want to replace the default javadoc:tools.jackson.databind.json.JsonMappe
114114
When defining an javadoc:tools.jackson.databind.json.JsonMapper[] bean, marking it as javadoc:org.springframework.context.annotation.Primary[format=annotation] is recommended as the auto-configuration's javadoc:tools.jackson.databind.json.JsonMapper[] that it will replace is javadoc:org.springframework.context.annotation.Primary[format=annotation].
115115
Note that, in either case, doing so disables all auto-configuration of the javadoc:tools.jackson.databind.json.JsonMapper[].
116116

117-
If you provide any javadoc:java.beans.Beans[format=annotation] of type javadoc:org.springframework.http.converter.json.JacksonJsonHttpMessageConverter[], they replace the default value in the MVC configuration.
117+
If you provide any javadoc:org.springframework.context.annotation.Bean[format=annotation]s of type javadoc:org.springframework.http.converter.json.JacksonJsonHttpMessageConverter[], they replace the default value in the MVC configuration.
118118
Also, a convenience bean of type javadoc:org.springframework.boot.http.converter.autoconfigure.HttpMessageConverters[] is provided (and is always available if you use the default MVC configuration).
119119
It has some useful methods to access the default and user-enhanced message converters.
120120

0 commit comments

Comments
 (0)