Merge branch '5.1.x'

This commit is contained in:
Sebastien Deleuze
2019-06-19 13:59:59 +02:00
8 changed files with 8 additions and 8 deletions

View File

@@ -1190,7 +1190,7 @@ and writes the media type supported by the Java I/O API.
[[rest-template-jsonview]]
===== Jackson JSON Views
You can specify a https://wiki.fasterxml.com/JacksonJsonViews[Jackson JSON View]
You can specify a https://www.baeldung.com/jackson-json-view-annotation[Jackson JSON View]
to serialize only a subset of the object properties, as the following example shows:
[source,java,indent=0]

View File

@@ -165,7 +165,7 @@ ServerResponse.created(location).build();
----
Depending on the codec used, it is possible to pass hint parameters to customize how the
body is serialized or deserialized. For example, to specify a https://wiki.fasterxml.com/JacksonJsonViews[Jackson JSON view]:
body is serialized or deserialized. For example, to specify a https://www.baeldung.com/jackson-json-view-annotation[Jackson JSON view]:
====
[source,java]

View File

@@ -2364,7 +2364,7 @@ Spring offers support for the Jackson JSON library.
[.small]#<<web.adoc#mvc-ann-jackson, Same as in Spring MVC>>#
Spring WebFlux provides built-in support for
https://wiki.fasterxml.com/JacksonJsonViews[Jackson's Serialization Views],
https://www.baeldung.com/jackson-json-view-annotation[Jackson's Serialization Views],
which allows rendering only a subset of all fields in an `Object`. To use it with
`@ResponseBody` or `ResponseEntity` controller methods, you can use Jackson's
`@JsonView` annotation to activate a serialization view class, as the following example shows:

View File

@@ -2672,7 +2672,7 @@ Spring offers support for the Jackson JSON library.
[.small]#<<web-reactive.adoc#webflux-ann-jsonview, Same as in Spring WebFlux>>#
Spring MVC provides built-in support for
https://wiki.fasterxml.com/JacksonJsonViews[Jackson's Serialization Views],
https://www.baeldung.com/jackson-json-view-annotation[Jackson's Serialization Views],
which allow rendering only a subset of all fields in an `Object`. To use it with
`@ResponseBody` or `ResponseEntity` controller methods, you can use Jackson's
`@JsonView` annotation to activate a serialization view class, as the following example shows: