title: How to make jsonData case insensitive and in Spring MVC
body: <p>New to spring ,</p>
  
  <p>i am trying to access json object in <code>@RequestBody MYPOJO pojo</code> which works fine , but my json data needed to be same as variable name in pojo and case sensitive. best i did find from web is <a href="https://stackoverflow.com/questions/30924816/make-json-payload-fields-case-insensitive-when-mapping-to-java-object-in-rest-ap">here</a> , but not synchronize with my project , i am using spring mvc. So how can i make case insensitive my json with pojo? </p>
  
  <p>the way i receive json  </p>
  
  <pre><code>@RequestMapping(value = "create", method = RequestMethod.POST)
  public void createPost(HttpServletRequest req, HttpServletResponse resp, @Valid @RequestBody Post post,
          Errors errors) throws CustomException, IOException {
  </code></pre>
  
  <p>json data</p>
  
  <pre><code>function jsonForPost(isEdit, id) {
  var post = {};
  if (isEdit) {
      post.id = id;
  }
  post.name = $("#name").val();
  return JSON.stringify(post);
  }
  </code></pre>