MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode fonts များမှာ Mon3,Yunghkio, Myanamr3 စသည်များ အသုံးပြုနိုင်သည်။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.

How to get value from single key value pair JSON in IOS?

edited April 2014 in iOS Devlopment

Currently I got the problem, I don't know how to get data from single key value pair JSON. However I got NSData value, but getting only nil value in NSDictionary. I've coded like that..

My json is very simple. It's like that : {'available':'yes'}

and then...

NSData *jsonData = [NSData dataWithContentsOfURL:url]; // I got value here
NSDictionary *jsonDict = [NSJSONSerialization JSONObjectWithData:jsonData options:kNilOptions error:&error]; // got nil value here

Here, I want "yes" value.

How can I achieve it?



Sign In or Register to comment.