Make a pretty-printed JSON text of this JSONArray. Warning: This method assumes that the data structure is acyclical. @param indentFactor The number of spaces to add to each level of indentation. Use -1 to specify no indentation and no newlines. @return a printable, displayable, transmittable repr
(int indentFactor)
| 1251 | * with <code>]</code> <small>(right bracket)</small>. |
| 1252 | */ |
| 1253 | public String format(int indentFactor) { |
| 1254 | StringWriter sw = new StringWriter(); |
| 1255 | synchronized (sw.getBuffer()) { |
| 1256 | return this.writeInternal(sw, indentFactor, 0).toString(); |
| 1257 | } |
| 1258 | } |
| 1259 | |
| 1260 | |
| 1261 | // /** |
no test coverage detected