title: Convert a List of json object to hashmap using jackson
body: <p>Is there a way to use inbuilt Jackson capabilities to convert a list of json object to HashMap using java</p>
  
  <p>Explanation:
  Json structure that i need to parse</p>
  
  <pre><code>{
      list:[
          {
              keyId : 1,
              keyLabel : "Test 1",
              valueId: 34,
              valueLabel: "Test Lable"
          },
          {
              keyId : 2,
              keyLabel : "Test 2",
              valueId: 35,
              valueLabel: "Test Lable"
          },
          {
              keyId : 3,
              keyLabel : "Test 3",
              valueId: 36,
              valueLabel: "Test Lable"
          }
      ]
  }
  </code></pre>
  
  <p>The object model I am expecting,</p>
  
  <pre><code>class Key{
      int keyId;
      String keyLable;
  
      hashCode(){
      return keyId.hashCode();
      }
  }
  
  class Value{
      int valueId;
      String valueLable;
  
      hashCode(){
      return valueId.hashCode();
      }
  }
  </code></pre>
  
  <p>I need to convert the above json list to a map like this,</p>
  
  <pre><code>HashMap&lt;Key,Value&gt; map;
  </code></pre>