MCPcopy Index your code
hub / github.com/benfry/processing4 / format

Method format

core/src/processing/data/JSONArray.java:1253–1258  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1251 * with <code>]</code>&nbsp;<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// /**

Callers 2

writeMethod · 0.95
toStringMethod · 0.95

Calls 2

writeInternalMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected