How can you deserialize an escaped JSON string with NSJSONSerialization?
If you have nested JSON, then just call JSONObjectWithData twice: NSString *string = @”\”{ \\\”name\\\” : \\\”Bob\\\”, \\\”age\\\” : 21 }\””; // –> the string // “{ \”name\” : \”Bob\”, \”age\” : 21 }” NSError *error; NSString *outerJson = [NSJSONSerialization JSONObjectWithData:[string dataUsingEncoding:NSUTF8StringEncoding] options:NSJSONReadingAllowFragments error:&error]; // –> the string // { “name” : “Bob”, “age” : … Read more