Retrieve data from a json object with square brackets enclosing the value of some object : <p>I have a Jsonobject that contain some values that were an Arraylist before converting it to Jsonobject </p>

<pre><code>[{"id":4,"name":"shirt","attributeName":["size"],"attributeValue":["6-7"],"attributeStock":["3"]}]
</code></pre>

<p>how can get attributeName &amp; attributeValue &amp; attributeStock  like an Arraylist</p>
