JSON File to 2D Array Java

You can use methods append() or setJSONArray() to add a new JSONArray to your existing JSONArray: