For a pet project of mine, I’m consuming a REST API. Unfortunately it’s probably not written with Spring (Boot), as the body of requests and response are not according to what you’re used to, UpperCamelCase instead of lowerCamelCase.


At first, I thought I could solve it with a @JsonProperty("...") annotation on every field, but there are so many of them :o

This can easily be fixed with the property naming class annotation:

public class SomeClassName {}