I am using the NSJSONSerialization class to convert the fields of my object to JSON. Unfortunately, only the types NSString, NSNumber, NSArray, NSDictionary, or NSNull are supported .
Since my object has one additional field, it is UIImage , I am losing information on how to deal with this. I'm sure many people have come across this common problem, so what's the best way to get close to this?
source share