Json decoding in Android

后端 未结 2 1773
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 18:02

I am facing an difficulty in decoding an json string. Below is my json string:

{
    \"udeals\":\"[{\\\"vName\\\":\\\"bussinessname3\\\",\\\"vAddress\\\":\\\         


        
2条回答
  •  情书的邮戳
    2020-12-18 18:23

    JSONObject json = new JSONObject(yourstring);
    JSONArray jsa = json.getJSONArray("udeals");
    ....
    

    It's really easy : http://developer.android.com/reference/org/json/JSONObject.html

提交回复
热议问题