Top "Nsjsonserialization" questions

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

JSON parsing using NSJSONSerialization in iOS

I am parsing a JSON in my code. But I am getting some unexpected issues while retrieving data of parsed …

ios objective-c json parsing nsjsonserialization
HTTP POST error Handling in Swift 2

I'm new here, and this is my first question... I try to write an App in Swift 2 that makes an …

http post error-handling nsjsonserialization swift2
How to convert NSDictionary to custom object

I have a json object: @interface Order : NSObject @property (nonatomic, retain) NSString *OrderId; @property (nonatomic, retain) NSString *Title; @property (nonatomic, …

ios objective-c json nsdictionary nsjsonserialization
NSErrorFailingURLStringKey (kCFErrorDomainCFNetwork error -1017) for specific requests

I wrote a helper class with which I make all my requests to a server (Rails 4.1). Most of the requests …

ios ruby-on-rails swift nsjsonserialization alamofire
How can you deserialize an escaped JSON string with NSJSONSerialization?

I have an iOS app that needs to process a response from a web service. The response is a serialized …

ios json cocoa nsjsonserialization
Parse json with NSJSONSerialization class using objectForKey in iOS

I am new in iOS development. I use this code to connect to my REST Web Service and fetch data …

iphone objective-c ios ios5 nsjsonserialization
The Operation couldn't be completed. (Cocoa error: 3840.)

I am trying to parse JSON for an ios 6 app, but can't seem to get it to work. I have …

objective-c json web-services ios6 nsjsonserialization
How to get readable JSON after NSJSONSerialization.dataWithJSONObject in Swift

I have some code similar to this (I've simplified it here): let text = "abc" let iosVersion = UIDevice.currentDevice().systemVersion let …

ios json swift nsjsonserialization
Invalid value around character 0, NSJSONSerialization

I make a get from my server and I get a valid response: - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)…

ios ios7 nsjsonserialization
iOS JSON Parse not working (returns null dictionary)

I use the NSJSONSerialization's JSONObjectWithData:data options: error: to parse JSON data returned from a server. Now for the options …

ios json parsing nsjsonserialization