@ -3403,6 +3403,39 @@ which allow rendering only a subset of all fields in an `Object`. To use it with
@@ -3403,6 +3403,39 @@ which allow rendering only a subset of all fields in an `Object`. To use it with
NOTE: `@JsonView` allows an array of view classes, but you can specify only one per
controller method. If you need to activate multiple views, you can use a composite interface.
If you want to do the above programmatically, instead of declaring an `@JsonView` annotation,
wrap the return value with `MappingJacksonValue` and use it to supply the serialization view: