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

Method toString

core/src/processing/data/JSONObject.java:1669–1676  ·  view source on GitHub ↗

Return the JSON data formatted with two spaces for indents. Chosen to do this since it's the most common case (e.g. with println()). Same as format(2). Use the format() function for more options.

()

Source from the content-addressed store, hash-verified

1667 * Same as format(2). Use the format() function for more options.
1668 */
1669 @Override
1670 public String toString() {
1671 try {
1672 return format(2);
1673 } catch (Exception e) {
1674 return null;
1675 }
1676 }
1677
1678
1679 /**

Callers 10

JSONObjectMethod · 0.45
doubleToStringMethod · 0.45
getStringMethod · 0.45
numberToStringMethod · 0.45
quoteMethod · 0.45
formatMethod · 0.45
valueToStringMethod · 0.45
wrapMethod · 0.45
writeValueMethod · 0.45
writeInternalMethod · 0.45

Calls 1

formatMethod · 0.95

Tested by

no test coverage detected