mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fixing setJSONObject setJSONArray
This commit is contained in:
@@ -1116,12 +1116,12 @@ public class JSONObject {
|
||||
}
|
||||
|
||||
|
||||
public JSONObject setJSONObject(String key, String value) {
|
||||
public JSONObject setJSONObject(String key, JSONObject value) {
|
||||
return put(key, value);
|
||||
}
|
||||
|
||||
|
||||
public JSONObject setJSONArray(String key, String value) {
|
||||
public JSONObject setJSONArray(String key, JSONArray value) {
|
||||
return put(key, value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user