public String toString ( int indentFactor ) throws JSONException { StringWriter sw = new StringWriter ( ) ; synchronized ( sw . getBuffer ( ) ) { return this . write ( sw , indentFactor , 0 ) . toString ( ) ; } }
Make a prettyprinted JSON text of this JSONArray . Warning : This method assumes that the data structure is acyclical .