Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : Processing 2.0 beta 8 and JSONObject

$
0
0
Super ;-) Thanks a__g !!! The trick with 2.0b8 and json4processing helped !

One more question: It seems, that length() is not working. Neither on Objects nor Arrays. Here is a code snippet:
  1. JSON jsonData = JSON.parse(result);
  2. JSON jsonResources = jsonData.getArray("media_resources");
  3. int exampleLength = jsonData.length();  // Throws: The function length() does not exist
Am I wrong, or is this a common issue?

Any help appreciated ;-)

Viewing all articles
Browse latest Browse all 1768

Trending Articles