MCPcopy Index your code
hub / github.com/processing/processing / format

Method format

core/src/processing/data/JSONArray.java:1163–1168  ·  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

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

Callers 2

writeMethod · 0.95
toStringMethod · 0.95

Calls 2

writeInternalMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected