Making a Web request and getting the data in JSON format...

Tutorials with advanced 'difficulty' and more Lines of Code.

Making a Web request and getting the data in JSON format...

Postby rahul_kalidindi » Fri Apr 09, 2010 1:29 pm

Hi,

I am trying to accomplish the task of

Making a Wed request
->get result in JSON format
->Parsing the result
-> and finally display the result in a table....


Any help regarding any of the task is welcome....
Regards,
Rahul
rahul_kalidindi
Freshman
Freshman
 
Posts: 8
Joined: Tue Apr 06, 2010 8:41 am
Location: Visakhapatnam

Top

Postby Boni2k » Sat Apr 10, 2010 2:24 pm

http://www.anddev.org/getting_data_from ... -t351.html

JSON Parsing:

JSONObject data = new JSONObject(YOUR_JSON_STRING);
String profileName = data.getString("profileName");
JSONObject blabla = data.getJSONObject("blabla");
int blubb = blabla.getInt("blubb");

and so on.
Boni2k
Experienced Developer
Experienced Developer
 
Posts: 88
Joined: Sun Dec 20, 2009 9:46 pm

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests