Hacker News new | ask | show | jobs
by triathlete 5122 days ago
Parsing json is a pain in android. You have to do so may things to do what should be a simple straightforward thing. One article mentioned that library but i never looked at it.
2 comments

I can definitely recommend Jackson. Performance is stellar and it's easy to use.

It does make your APK a bit bigger (in our case, about 20% of the APK size comes from Jackson) so if you're only going to be parsing very little JSON, you can still make do with JSONObject.

Another neat library is JSON Simple if you looked for SAX style json parsing.

http://code.google.com/p/json-simple/