Join GitHub today
JSONObject get() method is private #4334
The JSONObject get() and put() methods are alluded to in the docs - see the text at the top of http://processing.github.io/processing-javadocs/core/processing/data/JSONObject.html - but they both seem to be private in the source and can't be used in a Processing app (with an error about visibility).
They need to be public to allow any work with JSON files of unknown content. Which we're a bit in the middle of, so even an ugly workaround would be very welcome.
JSONArray also seems to be missing a get().