I need to build a java based JSON data API that will be accessed from mobile devices: Android, Iphone... I have narrowed down to these:
- Server side data api - gson/jackson lib (pojo to json)
- Android side - gson/jackson lib (json to pojo)
- Iphone side - I googled & found that there are a bunch of frameworks Jsonkit, json-framework, touch json etc etc.
Question:
Can someone make a recommendation on the iphone side json library? The gson/jackson generated json output of the data api, must be consumable from iphone without any special tweaks to json structure
Is there any java Collection type that I should stay away from(on server side) to ensure the json is directly convertible to objective c objects?
Any other gotchas?
Note: I am aware of PhoneGap, titanuim & some equivalents - but not interested in them. Json is meant to be a universal format, but I have had cross-library issues earlier - hence this attempt to understand from people with prior experiance on the subject
Thanks!