I want to implement a web service to recover an array of my entity PictureCaptures :
PictureCaptures
---------------
- description : string
- captureDate : DateTime
- photoBinary : byte[]
The web service will be mainly called by an iOS
application.
What's the best way to implement it, because of the byte array attribute?
Am I suppose to return the byte array without any transformation, as a simple JSON
attribute? If yes, how to interpet the JSON
response ? -In this case JSONObjectWithData:options:error:
doesn't work, too much data and memory issue)-
Thank you for your help.