Clarify documentation about JSON Views
This commit intends to clarify the documentation by avoiding confusion between @JsonView and Spring MVC JSON views. Fixes #22280
This commit is contained in:
@@ -2456,7 +2456,7 @@ for the body.
|
|||||||
Spring offers support for the Jackson JSON library.
|
Spring offers support for the Jackson JSON library.
|
||||||
|
|
||||||
[[webflux-ann-jsonview]]
|
[[webflux-ann-jsonview]]
|
||||||
===== Jackson Serialization Views
|
===== JSON Views
|
||||||
[.small]#<<web.adoc#mvc-ann-jackson,Same as in Spring MVC>>#
|
[.small]#<<web.adoc#mvc-ann-jackson,Same as in Spring MVC>>#
|
||||||
|
|
||||||
Spring WebFlux provides built-in support for
|
Spring WebFlux provides built-in support for
|
||||||
|
|||||||
@@ -2020,7 +2020,7 @@ Spring offers support for the Jackson JSON library.
|
|||||||
|
|
||||||
|
|
||||||
[[mvc-view-json-mapping]]
|
[[mvc-view-json-mapping]]
|
||||||
=== Jackson-based JSON Views
|
=== Jackson-based JSON MVC Views
|
||||||
[.small]#<<web-reactive.adoc#webflux-view-httpmessagewriter,Same as in Spring WebFlux>>#
|
[.small]#<<web-reactive.adoc#webflux-view-httpmessagewriter,Same as in Spring WebFlux>>#
|
||||||
|
|
||||||
The `MappingJackson2JsonView` uses the Jackson library's `ObjectMapper` to render the response
|
The `MappingJackson2JsonView` uses the Jackson library's `ObjectMapper` to render the response
|
||||||
|
|||||||
@@ -2784,7 +2784,7 @@ types for the body.
|
|||||||
Spring offers support for the Jackson JSON library.
|
Spring offers support for the Jackson JSON library.
|
||||||
|
|
||||||
[[mvc-ann-jsonview]]
|
[[mvc-ann-jsonview]]
|
||||||
===== Jackson Serialization Views
|
===== JSON Views
|
||||||
[.small]#<<web-reactive.adoc#webflux-ann-jsonview,Same as in Spring WebFlux>>#
|
[.small]#<<web-reactive.adoc#webflux-ann-jsonview,Same as in Spring WebFlux>>#
|
||||||
|
|
||||||
Spring MVC provides built-in support for
|
Spring MVC provides built-in support for
|
||||||
|
|||||||
Reference in New Issue
Block a user