I have an iOS app that needs to process a response from a web service. The response is a serialized JSON string containing a serialized JSON object, looking something like t
Just cut off the leading and trailing quotes and then replace all \"s with ":
NSString *sub = [original substringWithRange:(NSRange){ 1, original.length - 2 }]; NSString *unescaped = [sub stringByReplacingOccurrencesOfString:@"\\\" withString:@"\"];