mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 08:19:01 +00:00
Update JsonView advices Javadoc
Make the documentation relevant for all Jackson converters.
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
+1
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user