Spring Boot Fields with @JsonProperty are ignored on serialization Bug
This minimal demo project reproduce a bug(?) I found in Spring Boot 1.2.3.RELEASE:
Enable @JsonProperty will make it impossible to alter the property(by using HTTP PUT)
Without Spring Boot: the bug has been fixed. see https://jira.spring.io/browse/DATAREST-320
A very strange solution:
After I switch back to Spring Data Rest 2.2.1 (contained in Spring Boot 1.2.1.RELEASE), HTTP PUT now works properly. You can verify this by changing my bug demo project's POM file.
Now I got confused: Why didn't I reproduce the same bug by using Spring Data Rest 2.2.1 as Runar Botten did? Why do I encounter the bug by using the latter versions(2.2.2) which are supposed to fix that??