How do I convert this JSON file from POJO and vice versa : <pre><code>{
  "d": {
    "ComplaintNo": "",
    "Status": "",
    "UpdateDate": "",
    "UpdateTime": "",
    "ComplaintReason": "",
    "ClosureType": "",
    "Ibase": "",
    "Component": "",
    "ProductId": "",
    "ProductDescription": "",
    "Identification": "",
    "Cat1": "",
    "Cat2": "",
    "Cat3": "",
    "StatusReason": "",
    "VisitDate": "",
    "VisitTime": "",
    "NoOfVisit": "",
    "SerialNo": "",
    "OtherSpecify": "",
    "Complaint_product": [
      {
        "SequenceNo": "",
        "SparepartId": "",
        "Quantity": "3.00",
        "Group": "",
        "Model": ""
      },
      {
        "SequenceNo": "",
        "SparepartId": "",
        "Quantity": "3.00",
        "Group": "",
        "Model": ""
      }
    ],
    "Complaint_retuarn": [
      {}
    ]
  }
}
</code></pre>

<p>I have this above JSON String , I need this as my output from Android Code , ways to achieve it .</p>

<p>The above Output has complex "Complaint_retuarn" and "Complaint_product"
entities , How will I convert using those in POJO Class ?</p>
