Я хочу имя, адрес электронной почты и изображение для каждого TAG. Я должен показать в элементе List.Как разобрать этот массив JSON в android
{
"response":[
{
"name":"Brajendra Mishra",
"email":"[email protected]",
"address":"Information Service\r\nParliament of Canada\r\nOttawa, Ontario K1A 0A9",
"aboutus":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ",
"image":"http:\/\/74.52.209.213\/lab\/event\/img\/attachments\/photos\/small\/4f2a5a71-acc0-4319-b1ca-14774a34d1d5.jpg"
},
{
"name":"Toney Grey",
"email":"[email protected]",
"address":"Information Service\r\nParliament of Canada\r\nOttawa, Ontario K1A 0A9",
"aboutus":"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ",
"image":"http:\/\/74.52.209.213\/lab\/event\/img\/attachments\/photos\/small\/4f1d4283-5204-4f16-90d6-69924a34d1d5.jpg"
}
],
"count":2
}
Я пробовал много, но не смог.
Просто дайте мне знать циклы, как достичь значений для каждого имени, электронной почты, изображения и т. Д., Как удержать.
я извиняюсь человека, нам нужно больше информации. Какая первая часть JSON, вторая? Кроме того, вы не используете JSONObject? Вы используете ArrayLists? –
Спасибо за быстрый ответ. Дайте мне немного времени, давая больше информации. –