title: JSON object to List conversion
body: <p>Currently I want to iterate over response body and convert into List of entity objects. But the problem here is the response has different names from that of the entity objects. Here is an example</p>
  
  <p>Please find response JSON      </p>
  
  <pre><code>     {
         "data":[
             {
               "user_name": "abc",
               "user_company":"bbbb",
                "user_id": "123"
               },
               {
                "user_name": "azz",
                 "user_company":"eee",
                "user_id": "555"
                }
            ]
          }
  </code></pre>
  
  <p>On the Entity side I have</p>
  
  <pre><code>Class user{
    String userName,
    String company,
    String userId
  }
  </code></pre>
  
  <p>What I am looking for is to iterate over response.getBody() and set it to entity objects and add it to <code>List&lt;Entity&gt;</code>. Looking forward for your help.</p>