Closed
Description
Brandon Whiteman opened SPR-7156 and commented
Jackson's JSONView annotation allows the developer to control which aspects of a method are serialiazed. With the current implementation, the Jackson view writer must be used but then the content type is not available. It would be better if as part of the RequestBody annotation, a JSONView could be specified.
Affects: 3.1.2
Issue Links:
- DATAREST-221 Support use case-driven inlining of managed resources
- Provide better intercepting model for controllers returning @ResponseBody [SPR-10859] #15486 Provide better intercepting model for controllers returning
@ResponseBody
- MappingJacksonJsonView.setRenderedAttributes [SPR-6165] #10833 MappingJacksonJsonView.setRenderedAttributes
- Support Jackson2 based XML serialization/deserialization [SPR-11785] #16407 Support Jackson2 based XML serialization/deserialization
- XD-999 Return the step execution information in the current job execution controller
- JsonView support for JMS [SPR-13237] #17828 JsonView support for JMS
- Jackson @JsonView deserialization support for request bodies [SPR-12501] #17106 Jackson
@JsonView
deserialization support for request bodies - Allow @JsonView to be used on meta-annotations on Rest methods [SPR-13268] #17859 Allow
@JsonView
to be used on meta-annotations on Rest methods - Create builder for Jackson ObjectMapper [SPR-12243] #16857 Create builder for Jackson ObjectMapper
- Support both filters and views in AbstractJackson2HttpMessageConverter [SPR-17209] #21742 Support both filters and views in AbstractJackson2HttpMessageConverter
Referenced from: commits 51fc3b4, be0b69c
25 votes, 24 watchers