Making JSON including JSONObject and JSONArray
<p>I need to make a JSON like this on Android - </p>

<pre><code>{"LoomMachine" : ["Waterjet","Rapier"],
"LoomType" : ["Dobby","Crank"]}
</code></pre>

<p>Any help on how to make this ?</p>