Sending and Parsing JSON in Android
Posted
by primal
on Stack Overflow
See other posts from Stack Overflow
or by primal
Published on 2010-05-12T12:24:57Z
Indexed on
2010/05/12
12:34 UTC
Read the original article
Hit count: 490
Hi,
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.
© Stack Overflow or respective owner