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

Method toJSON

core/src/processing/data/StringList.java:787–793  ·  view source on GitHub ↗

Return this dictionary as a String in JSON format.

()

Source from the content-addressed store, hash-verified

785 * Return this dictionary as a String in JSON format.
786 */
787 public String toJSON() {
788 StringList temp = new StringList();
789 for (String item : this) {
790 temp.append(JSONObject.quote(item));
791 }
792 return "[ " + temp.join(", ") + " ]";
793 }
794
795
796 @Override

Callers 1

toStringMethod · 0.95

Calls 3

appendMethod · 0.95
quoteMethod · 0.95
joinMethod · 0.95

Tested by

no test coverage detected