{ "id": "some", "title": "some", "author": { "name": "\u95eb\u9759"
}, "link": [{ "@attributes": { "href": "http://localhost/", "rel": "some"
}
},
{ "@attributes": { "href": "http://localhost/", "rel": "some"
}
},
{ "@attributes": { "href": "http://localhost/", "rel": "some"
}
}]
}
如下所示,對于服務器返回的json數據,如何獲取Link中第一個@attributes的href值?
絕地無雙
2023-04-04 18:14:31