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");
Share this page:
  • Reddit
  • Slashdot
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is 2 + 2 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)