I'm new to the whole concept of REST and mapping json into a Java Object. I know that I need to create a class file that the object mapper uses to create the Java object. The json below is what is top end returned from WeatherUnderground using a resttemplate. To me, it appears to be an array of objects and I am only interested at the moment in the current\_observation and the display\_location objects. It also appears to have several objects imbedded in other objects. 

The arrays I think I can figure out, but can anyone give me some pointers on how to map a json object.

Thanks,
Rob

```
{
"response": {
"version": "0.1",
"termsofService": "http://www.wunderground.com/weather/api/d/terms.html",
"features": {
"conditions": 1
}
},
"current_observation": {
"image": {
"url": "http://icons-ak.wxug.com/graphics/wu2/logo_130x80.png",
"title": "Weather Underground",
"link": "http://www.wunderground.com"
},
"display_location": {
"full": "San Francisco, CA",
"city": "San Francisco",
"state": "CA",
"state_name": "California",
"country": "US",
"country_iso3166": "US",
"zip": "94101",
"latitude": "37.77500916",
"longitude": "-122.41825867",
"elevation": "47.00000000"
},

```