AFNetworking parse JSON Unescaped control character
1.Add chandan's method
removeUnescapedCharacter
to class
AFURLResponseSerialization
in AFNetworking 2.0.
2.Add
responseString = [self removeUnescapedCharacter:responseString];
under
NSString *responseString = [[NSString alloc] initWithData:data encoding:stringEncoding];
in method
- (id)responseObjectForResponse:(NSURLResponse *)response
data:(NSData *)data
error:(NSError *__autoreleasing *)error