Monday, 19 August 2013

How Parse JSON string Android

How Parse JSON string Android

Hi I have my json file like this:
{
"shops": [
{
"id": "11",
"name": "Next",
"categories": [
"4",
"33",
"34",
"16"
],
"bg_image": "/uploads/static/shop/460px/2012/12/5385-127-sale.jpg"
},
{
"id": "12",
"name": "MS",
"categories": [
"4",
"33",
"42",
"16"
],
"bg_image": "/uploads/static/shop/460px/2012/12/5385-127-sale.jpg"
},
.....
I want to filter the shops according to the categories id. But I couldn't
find any solution for this. Someone please help me to solve this on
android. Please don't ignore this question. The solution is very important
for me. Thanks in advanced.

No comments:

Post a Comment