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)
| 1161 | * with <code>]</code> <small>(right bracket)</small>. |
| 1162 | */ |
| 1163 | public String format(int indentFactor) { |
| 1164 | StringWriter sw = new StringWriter(); |
| 1165 | synchronized (sw.getBuffer()) { |
| 1166 | return this.writeInternal(sw, indentFactor, 0).toString(); |
| 1167 | } |
| 1168 | } |
| 1169 | |
| 1170 | |
| 1171 | // /** |
no test coverage detected