Categories

Resty: REST/JSON in Java Made So Much Easier!

I love it when something so useful is made so simple to use.  Take a look at Resty, an all-in-one HTTP client for Java with native support for parsing JSON.

Here’s an example from the Resty website:

Resty r = new Resty(); Object name = r.json("http://ws.geonames.org/" + "postalCodeLookupJSON?postalcode=66780&country=DE") .get("postalcodes[0].placeName");