diff --git a/core/src/processing/data/IntDict.java b/core/src/processing/data/IntDict.java index 965fedb4d..e50d1b55d 100644 --- a/core/src/processing/data/IntDict.java +++ b/core/src/processing/data/IntDict.java @@ -666,7 +666,7 @@ public class IntDict { public String toJSON() { StringList items = new StringList(); for (int i = 0; i < size(); i++) { - items.append("\"" + JSONObject.quote(keys[i]) + "\": " + values[i]); + items.append(JSONObject.quote(keys[i])+ ": " + values[i]); } return "{ " + items.join(", ") + " }"; } diff --git a/core/todo.txt b/core/todo.txt index c37d20d1b..96c666f60 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,7 +1,11 @@ 0254 (3.2.2 or 3.3) +X fix quoting problem in IntDict.toJSON() X add getRowMap() function _ do we want rows() to not be transient? +andres +X Automatic handling of screen FBOs breaks readPixels() for user-provided FBO +X https://github.com/processing/processing/issues/4643 started X add toJSON() method to IntDict