1
我向服務器發送請求,它給了我一個響應並以JSON格式提供數據,現在我想從該JSON格式中獲取某些特定值,這麼做太熱了。從android中獲取JSON的值
{
"education": [
{
"school": {
"id": "2009305",
"name": "FG boys public high school Bannu Cantt "
},
"type": "High School"
},
{
"school": {
"id": "109989",
"name": "University of Engineering & Technology"
},
"type": "College"
}
],
"id": "xxxxxxx"
}
現在我需要學校的名字從這個XML,
xml or json?你正在混合這兩個,讓你的問題有點混亂,從你發佈它看起來像json而不是xml – nizammoidu