title: Ignore JSON attribute cases declared with @JsonProperty with Spring RestTemplate
body: <p>I use <code>@JsonProperty</code> to serialize data from a JSON through Spring <code>RestTemplate</code>'s <code>exchange</code>.</p>
  
  <pre><code>@JsonProperty("ip_address")
  public String ipAddress;
  
  @JsonProperty("port")
  public Integer port;
  </code></pre>
  
  <p>I need this property to recognize both upper and lowercase versions of the attribute names i.e. "ip_address" and "IP_ADDRESS" set in <code>@JsonProperty</code> should be recognized.</p>
  
  <p>I have tried the following and none worked:</p>
  
  <ul>
  <li><p><code>@JsonFormat(with=JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)</code> applied on a class level does not work with <a href="https://github.com/FasterXML/jackson-databind/issues/1886" rel="nofollow noreferrer">existing issue</a> reported in GitHub. Also does not work when applied to each attribute in the model class.</p></li>
  <li><p><a href="https://stackoverflow.com/a/38547099/11159477">use <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code> on an <code>ObjectMapper</code> bean</a>.</p></li>
  <li><p><a href="https://stackoverflow.com/a/36096162/11159477">This example using <code>ObjectMapper</code> and <code>RestTemplate</code></a> also didn't work even with a combination code with the example on the item before.</p></li>
  </ul>
  
  <p>All three just have <code>null</code> values for their respective attributes because I disabled error on unknown attributes (a.k.a. the different letter case) for the template. </p>