Update JsonView advices Javadoc

Make the documentation relevant for all Jackson converters.
This commit is contained in:
Sébastien Deleuze
2026-01-08 16:53:19 +01:00
parent d4d10dc75d
commit d85ac300bb
2 changed files with 2 additions and 4 deletions
@@ -39,8 +39,7 @@ import org.springframework.util.Assert;
* or {@code @RequestBody} method parameter.
*
* <p>The deserialization view specified in the annotation will be passed in to the
* {@link org.springframework.http.converter.json.MappingJackson2HttpMessageConverter}
* which will then use it to deserialize the request body with.
* Jackson converters which will then use it to deserialize the request body with.
*
* <p>Note that despite {@code @JsonView} allowing for more than one class to
* be specified, the use for a request body advice is only supported with
@@ -36,8 +36,7 @@ import org.springframework.util.Assert;
* or {@code @ExceptionHandler} method.
*
* <p>The serialization view specified in the annotation will be passed in to the
* {@link org.springframework.http.converter.json.MappingJackson2HttpMessageConverter}
* which will then use it to serialize the response body.
* Jackson converters which will then use it to serialize the response body.
*
* <p>Note that despite {@code @JsonView} allowing for more than one class to
* be specified, the use for a response body advice is only supported with