As addition to other solutions, @JsonProperty annotation is de facto crucial if you use the @JsonCreator annotation in courses which would not have a no-arg constructor. Should you ever have to alter the fundamental implementation you are still cost-free to refactor them as properties without having breaking any dependent code. https://m3mnewprojectgurgaon.finance.blog/