Top "Nsjsonserialization" questions

NSJSONSerialization class is used to convert JSON to Foundation objects and Foundation objects to JSON

How to serialize UIImage to JSON?

I am using imageData = UIImagePNGRepresentation(imgvw.image); and while posting [dic setObject:imagedata forKey:@"image"]; after NSData *data = [NSJSONSerialization dataWithJSONObject:…

ios nsjsonserialization
Mapping JSON objects in custom objects

I've been searching if it is possible to get a JSON dictionary or array and directly map it in a …

ios json parsing nsjsonserialization custom-object
Unescaped control characters in NSJSONSerialization

I have this JSON http://www.progmic.com/ielts/retrive.php that I need to parse. When I do it …

objective-c escaping nsjsonserialization
NSJSONSerialization results in EXC_BAD_ACCESS

Currently I am writing an app (Target iOS 6, ARC enabled) that uses JSON for data transmission and Core Data for …

xcode json ios6 exc-bad-access nsjsonserialization
Serialize JSON string that contains escaped (backslash and double quote) Swift return Badly formed object

I have response string from the backend like this: { "status": "success", "data": "{\"name\":\"asd\",\"address\":\"Street 1st\"}" } I think the …

ios json swift nsjsonserialization jsonserializer
Swift Error: ambiguous reference to member 'jsonObject(with:options:)

I am trying to load images from server into my iOS app with the help of GET request. However, it …

ios swift nsurlsession nsjsonserialization json-serialization
Objective C NSMutableURLRequest GET request returns null JSON

trying get Data from server using @"GET" request, this following code returns null all time: is anybody finding an issue …

objective-c json get nsjsonserialization nsmutableurlrequest
How to handle NSJSONSerialization's crashing when disconnected to internet

I implement web service in my app. My way is typical. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { //Web …

iphone ios json web-services nsjsonserialization