How to parse the Json response in android?

后端 未结 6 1763
一生所求
一生所求 2020-12-14 23:19

i m getting this response in a result of GET request to server

{\"LL\": { \"control\": \"dev/sys/getkey\", \"value\": \"4545453030304138303046392035343733373         


        
6条回答
  •  自闭症患者
    2020-12-14 23:54

    try this

    JSONObject json = (JSONObject) JSONSerializer.toJSON(responseText);   
    String value = json.getJSONObject("LL").getString("value");
    

提交回复
热议问题