JSON Properties Name Change (Jackson)
JSON Properties Name Change (Jackson)
@JsonProperty annotation use to rename of properties for JSON while serializing and deserializing to/from Java Class. This annotation can apply on properties and getter/setter method level.
@JsonProperty on Properties Level
public class StudentDetail { @JsonProperty(value = "id") private int rollNumber; @JsonProperty(value = "firstName") private String first_name; @JsonProperty(value =…
View On WordPress



















