forum

home / developersection / forums / handling json in android

Handling JSON in Android

Anonymous User 2275 12-Oct-2015
I am working on  an android application, 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"
  },
}

Updated on 12-Oct-2015

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By