title: Json object contain json array parsing
body: <p>Am using a function to add list items,name ,id into a jsonobject and returning that object into called function,and getting all the way..But i am little confused with parsing of that json string.</p>
  
  <pre><code>JSONObject obj = abcobj.function();
  
  public JSONObject function()
  {
    jsonobj.put("test",list);
    jsonobj.put("name",name);
    jsonobj.put("id",id);
    return jsonobj;
  }
  
  System.out.println("Json object"+devid);
  </code></pre>
  
  <p><em><strong>Output</em></strong></p>
  
  <pre><code> {"test":["test","test1"],"name":"xxxxx","id":"1234"}
  </code></pre>
  
  <p>please help me to parse this object</p>