I have a project in spring and lombok. I have the following class:
import lombok.Value;
@Value
public class Movement {
int xAxis;
int yAxis;
}
This is being returned in a spring response. However I'm expecting it to be returned like this:
"movement": {
"xAxis":1,
"yAxis":2
}
but it comes back like this
"movement": {
"xaxis":1,
"yaxis":2
}
with the fields in lower case. Am I missing something?