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.

{"SessionKey":"7d38ec29-d1f3-42e9-b35f-91b505bf3206",
"Status":"UpdatesComplete"
}

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:

@JsonNaming(PropertyNamingStrategy.UpperCamelCaseStrategy.class)
public class SomeClassName {}