Does anyone know how com.fasterxml.jackson.databind.ObjectMapper is able to map JSON properties to POJO properties case insensitive?
JSON-String:
An alternative solution is to specify JSON field names case-sensitive:
public Movie(){
//Jackson deserialize
}
@JsonProperty("Title")
public String getTitle() {
return title;
}
@JsonProperty("Year")
public String getYear() {
return year;
}
@JsonProperty("imdbID")
public String getImdbID() {
return imdbID;
}