Android 求这种json怎么解析到listview上
{"status":200,"isSucess":true,"msg":"hahahh","result":{"0":{"name":"杨","tel":"1222222...
{
"status": 200,
"isSucess": true,
"msg": "hahahh",
"result": {
"0": {
"name": "杨",
"tel": "122222222",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
},
"1": {
"name": "杨",
"tel": "133333333",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
},
"2": {
"name": "杨",
"tel": "13444444",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
}
}
} 展开
"status": 200,
"isSucess": true,
"msg": "hahahh",
"result": {
"0": {
"name": "杨",
"tel": "122222222",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
},
"1": {
"name": "杨",
"tel": "133333333",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
},
"2": {
"name": "杨",
"tel": "13444444",
"car_brand_model_name": "奥迪A6L",
"layer_name": "负一层",
"car_info_plate": "川a88888"
}
}
} 展开
1个回答
展开全部
ackage com.example.josn_test;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询