Rest service to Domain Model

0
Can any one please help me to understand the Domain model creation based on following Response. URL for request -> http://api.openweathermap.org/data/2.5/weather?q=London&APPID=322bcd4f6be23c9f287b71f4720a3a81 JSON response { "coord":{ "lon":-0.13, "lat":51.51 }, "weather":[ { "id":721, "main":"Haze", "description":"haze", "icon":"50d" } ], "base":"stations", "main":{ "temp":286.5, "pressure":1017, "humidity":71, "tempmin":284.15, "tempmax":289.82 }, "visibility":10000, "wind":{ "speed":1.5, "deg":80 }, "clouds":{ "all":40 }, "dt":1464251448, "sys":{ "type":1, "id":5091, "message":0.0221, "country":"GB", "sunrise":1464234832, "sunset":1464292932 }, "id":2643743, "name":"London", "cod":200 }
asked
1 answers
3

This should be enough to get you started... shows a mapping for primitive properties, an object and an array.

domainmodel

answered