title: How to clear data from a JSON Array
body: <p>I am working on a project where I have to clear all the data from a JSON array. There seems to be no method like <b>jsonArray.clear()</b>. Also tried <b> jsonArray = new JSONArray()</b>. That too didn't worked. Suggestions please</p>