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:
- JSON jsonData = JSON.parse(result);
- JSON jsonResources = jsonData.getArray("media_resources");
- int exampleLength = jsonData.length(); // Throws: The function length() does not exist
Any help appreciated ;-)