I am working on an iOS application and I have a basic problem. I have spent many hours to resolve it but I haven’t had any success.
I have some JSON like this : {"htmlCode":"<thead><tr><td class=/"/"><p>Protected.....
SBJsonParser *jsonParser = [[[SBJsonParser alloc]init]autorelease];
NSDictionary *results = [jsonParser objectWithString:jsonTableData];
NSLog(@" result %@",results);
result (null)
My problem is the :/"/" – how I can replace it with \"\"?
i would like to do something like this :
jsonTableData = [jsonTableData stringByReplacingOccurrencesOfString:@"/"/"" withString:@"\"\""];
You can replace characters in string like this!