我有这样的JSON:的Json查找阵列
{
"response":{
"name":"Demo Shop",
"items":[
{
"id":3,
"name":"first",
"cost":10,
"description":"First description"
},
{
"id":2,
"name":"second",
"cost":50,
"description":"second description"
}
],
"coupon":false
}
}
我需要解析此JSON和ID获得产品的描述。
您可以使用过滤方法 – user93
喔真的和学校里的老师给你这个功课。 – Panther