【发布时间】:2019-11-11 05:00:12
【问题描述】:
我有一个类似于下面给出的 json 结构的 json 文件,现在我想要所有 item_id=2 的对象并将它们传递给 recyclerview。有人可以解决我的问题吗?提前致谢
我的json文件结构是这样的
{
"iceberg": [
{
"item_id": 1,
"Quote": "some quote text"
},
{
"item_id": 2,
"Quote": "some quote text"
},
{
"item_id": 1,
"Quote": "some quote text"
},
{
"item_id": 2,
"Quote": "some quote text"
}
]}
【问题讨论】:
标签: javascript android json