How to parse JSON obtained from HttpClient connection?
I have successfully established a connection using Httpclient GET
method.开发者_高级运维 Now I want to parse the data using JSON Parser. Please help me.
Look at the org.json package in the Android SDK. It has useful classes like JSONObject and JSONArray that you can use to parse JSON responses.
Use the JSONObject
class as Rahul said. Its quite good.
Read more about it here
General information about JSON: here
精彩评论