Skip to content

Commit 39471f8

Browse files
committed
fix quoting problem in IntDict.toJSON()
1 parent f685491 commit 39471f8

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

core/src/processing/data/IntDict.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ public void write(PrintWriter writer) {
666666
public String toJSON() {
667667
StringList items = new StringList();
668668
for (int i = 0; i < size(); i++) {
669-
items.append("\"" + JSONObject.quote(keys[i]) + "\": " + values[i]);
669+
items.append(JSONObject.quote(keys[i])+ ": " + values[i]);
670670
}
671671
return "{ " + items.join(", ") + " }";
672672
}

core/todo.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
0254 (3.2.2 or 3.3)
2+
X fix quoting problem in IntDict.toJSON()
23
X add getRowMap() function
34
_ do we want rows() to not be transient?
45

6+
andres
7+
X Automatic handling of screen FBOs breaks readPixels() for user-provided FBO
8+
X https://github.com/processing/processing/issues/4643
59

610
started
711
X add toJSON() method to IntDict

0 commit comments

Comments
 (0)