Я использую Objective C и вот моя проблема ..Получить значения из Json объекта Objective C
(
{
error = 0;
newsletter = (
{
date = "2015-11-23";
description = "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. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop p";
id = 42;
image = "mylink/uploads/14482883361619729430.png";
"post_count" = 2;
"posted_by" = admin;
title = Testing;
},
{
date = "2015-11-28";
description = "I am testing";
id = 48;
image = "mylink/ips/uploads/14486977841870344075.jpg";
"post_count" = 1;
"posted_by" = admin;
title = "Ips Informa";
}
);
}
)
Выше моя JSON строки я извлечение из asihttpRequest
теперь я хочу, чтобы отобразить бюллетень, например, .date, название, описание в виде таблицы
я только что получил массив со следующим:
NSDictionary* json = [NSJSONSerialization JSONObjectWithData:responseData //1
options:NSJSONReadingMutableContainers
error:&err];
Я получаю выход со следующим кодом:
NSLog(@"NewLetter Title: %@", json);
графа следующим образом:
NSLog(@"Count is - %lu",[json count]);
Граф является - 1
Я новичок в объективном C, я пытался решить , но не нашел способ получить данные бюллетеня?
Не перекладывайте свои вопросы. – rmaddy