title: Converting LinkedHashMap<String,MyClass> to Java Object
body: <p>How can I convert the JSON string like this:</p>
  
  <pre><code>{ "summary": {
      "totalMR":4.599000000000903E12,
      "totalMA":1.9174920000386694E11,
      "totalQA":5.1111111181E9,
      "totalQR":1.000020666115264E11
    },
    "result": [{},{}],
    "success":"true",
    "total":49
  }
  </code></pre>
  
  <p>to a Java object. I went through many similar posts and implemented constructors but couldn't find the proper explanation of why I'm unable to De-serialize the JSON.</p>
  
  <p>Am I doing anything wrong?</p>
  
  <p>My Class:</p>
  
  <pre><code>public class expResponse {
  private String success;
  private String total;
  private ArrayList&lt;LinkedHashMap&lt;String,Object&gt;&gt; result;
  private LinkedHashMap&lt;String,SummaryResponse&gt; summary;
  // Constructor: public expResponse(){}
  // Getter and Setter 
  }
  
  public class SummaryResponse {
  private Float totalQR;
  private Float totalQA;
  private Float totalMR;
  private Float totalMA;
  
  public SummaryResponse(){}
  // Setter and Getter
  }
  </code></pre>
  
  <p>My Code:</p>
  
  <pre><code>private expResponse processResult(String result) throws IOException{
  ObjectMapper objectMapper = new ObjectMapper();
  expResponse expResponseObj = 
  objectMapper.readValue(result, expResponse.class);
  return expResponseObj;
  </code></pre>