I am working on the app in which I store the file name and file path in NSDictionary. My dictionary like,
Dict Path : {
background = "file://localhost/var/mobile/Applications/6118A03F-345B-42D5-AC19-25F6D9AC4484/Documents/background.caf";
bgMusic = "file://localhost/var/mobile/Applications/6118A03F-345B-42D5-AC19-25F6D9AC4484/Documents/bgMusic.caf";
}
It's works fine, but when I tried to convert the dictionary in JSON string,
NSString *strPathForSong = [json stringWithObject:dictPath];
NSLog(@"path sting : %@",strPathForSong);
it returns null string. So is there any way to convert dictionary having "/" string into json string?? Thank you in advance