In order to continue the recent improvements we have done in Spring's Jackson integration, we would like to add support for @JsonView deserialization on request bodies as described in this issue.
The issue we have is that @JsonView only targets ElementType.METHOD and ElementType.FIELD. Would you consider adding ElementType.PARAMETER in order to allow us to support this kind of use case?
@RequestMapping(value = "/persons", consumes = APPLICATION_JSON_VALUE, method = RequestMethod.POST)
public ResponseEntity<Person> savePerson(@JsonView(View.Summary.class) @RequestBody Person p)
{
return new ResponseEntity<>(personRepository.save(p), HttpStatus.OK);
}
In order to continue the recent improvements we have done in Spring's Jackson integration, we would like to add support for
@JsonView
deserialization on request bodies as described in this issue.The issue we have is that
@JsonView
only targetsElementType.METHOD
andElementType.FIELD
. Would you consider addingElementType.PARAMETER
in order to allow us to support this kind of use case?