title: Convert Json Containing Map of similar list into POJO
body: <p>I need to convert following response into POJO </p>
  
  <pre><code>{
  "abc" : [
   { 
    "a" : "",
    "b": "",
    "c" : ""
  },
  { 
   "a" : "",
    "b": "",
    "c" : ""
  }
  ],
  "xyz" : [
   { 
    "a" : "",
    "b": "",
    "c" : ""
  },
  { 
   "a" : "",
    "b": "",
    "c" : ""
  }]
  }
  </code></pre>
  
  <p>For inside object i have a class lets call it 'A'.</p>
  
  <pre><code>public class A{
  private string a;
  private string b;
  private string c;
  constructor..
  getter..
  setter..
  }
  </code></pre>
  
  <p>My json  contains many objects like "acb" and "xyz" i.e list of same object type 'A' and keys for the same is not known for eg</p>
  
  <pre><code>{ "abc" [---],
  "def" [---],
  "ghi" [---],
  "jkl" [---],
  .......
  "xyz" [---]
  }
  </code></pre>
  
  <p>I have tried Using following class for the same </p>
  
  <pre><code>Public class Example{
  Map&lt;String,List&lt;A&gt;&gt; response;
  
  public Example(Map&lt;String,List&lt;A&gt;&gt; response){
  this.response = response;
  }
  
  getter...
  setter...
  }
  </code></pre>
  
  <p>it does not seems to be working, I am using Object Mapper class  to convert.</p>
  
  <pre><code>Example example = objectmapper.readValue(responseBody,Example.class);
  </code></pre>