title: Jackson json to map and camelcase key name
body: <p>I want to convert json via jackson library to a map containing camelCase key...say...</p>
  
  <p><strong>from</strong></p>
  
  <pre><code>{
      "SomeKey": "SomeValue",
      "AnotherKey": "another value",
      "InnerJson" : {"TheKey" : "TheValue"}
  }
  </code></pre>
  
  <p><strong>to this...</strong></p>
  
  <pre><code>{
      "someKey": "SomeValue",
      "anotherKey": "another value",
      "innerJson" : {"theKey" : "TheValue"}
  }
  </code></pre>
  
  <p>My Code...</p>
  
  <pre><code>public Map&lt;String, Object&gt; jsonToMap(String jsonString) throws IOException
  {
      ObjectMapper mapper=new ObjectMapper();
      mapper.setPropertyNamingStrategy(PropertyNamingStrategy.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES);
      return mapper.readValue(jsonString,new TypeReference&lt;Map&lt;String, Object&gt;&gt;(){});
  }
  </code></pre>
  
  <p>But this doesn't work...even other propertyNamingStrategy does not work on json...such as...</p>
  
  <pre><code>{
      "someKey": "SomeValue"
  }
  
  mapper.setPropertyNamingStrategy(new PropertyNamingStrategy.PascalCaseStrategy())
  </code></pre>
  
  <p>to </p>
  
  <pre><code>{
      "SomeKey": "SomeValue"
  }
  </code></pre>
  
  <p><strong>How to get the camelCase Map key name via jackson... or should I manually loop map and convert key or there are some other way???</strong> </p>
  
  <p>Thanks in advance...</p>