I have a little dilemma with the iphone project.
I get some JSON data from a web service. I can deserialize it in the OK dictionary. One of the dictionary values is a binary file (image), but my JSON library deserializes it as an NSArray from NSDecimalNumbers!
How to convert this NSArray from NSDecimalNumbers to an NSData object so that I can successfully generate an image from it using [UIImage imageWithData: myNSData]?
Dave
source
share