我从图形 api 中得到以下响应{ "data": [ { "name": "Mohamed Galib", "id": "502008940" }, { "name": "Mebin Joseph", "id": "503453614" }, { "name": "Rohith Raveendranath", "id": "507482441" } ], "paging": { "next": "https://some_url" }}我有一个结构如下type Item struct { Name, Id string}我想解析响应并获得一个 Item 数组,我该怎么做?
1 回答
- 1 回答
- 0 关注
- 206 浏览
添加回答
举报
0/150
提交
取消