In the application I am developing, I would like to send messages in the form of JSON objects to a Django Server and parse the JSON response from the server and populate a custom listview.
From the little JSON knowledge I have, I thought this format for the response from server
{
"post": {
"username": "someusername",
"message": "this is a sweet message",
"image": "http://localhost/someimage.jpg",
"time": "present time"
},
}
How much knowledge of JSON should I have to accomplish this purpose? Also it would be great if someone could provide me links of some tutorials for sending and parsing JSON Objects.
Edit: Is there any advantage using GSON Parser rather than 'get' command for parsing JSON responses?