That's a good working example of connecting to a service that uses JSON. Could probably have used a service that was a little bit easier to understand though. There's a lot of things going on there, and a lot of data - which can easily get frustrating for people new to JSON (and formatted text in general). =)
Until Ben and co. have decided on an implementation for the core JSON library I've updated my temporary lib. It has a new, more Processing-aligned, workflow using just one JSON type instead of JSONObject and JSONArray.
Examples have been updated, unfortunately some examples were removed for various resons (f.ex. the Yahoo weather have removed the option to render json).
You're doing everything perfectly correct! There was a bug, the thing was parsing correctly but the type wasn't being set. So it thought it had failed to parse. It should be updated now (it's still version 0.1.6 so make sure to replace everything when you install).
Have now updated version again, fixed a recursion problem with the opt() method (something you never use) and also included a first fix of the XML to JSON conversion with an example built on Shiffmans "Loading XML Data".
Current version 0.1.7
Leave a comment on a__g's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic