title: Make JSON payload fields case insensitive when mapping to Java Object in REST API developed using SpringBoot
body: <p>I am working on REST API developed using SpringBoot application. Here I want to make the fields in the payload(JSON) as case insensitive when mapping to a Java Object. Below is my code.</p>
  
  <p><strong>Payload</strong>
  {"limit":1,"name":"MATTHEW PHILLIPS"}</p>
  
  <p><strong>Request Object</strong></p>
  
  <pre><code>private String limit;
  private String name;
  
  public String getLimit() {
        return limit;
      }
  
      public void setLimit(String limit) {
          this.limit = limit;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  </code></pre>
  
  <p>I map the JSON payload to java Object directly using @RequestBody Spring annotation. My question here is How do I make the java Object to map to the fields ignoring the case.</p>
  
  <p>Regards,
  Rakesh  </p>