Hacker News new | ask | show | jobs
by buerkle 5122 days ago
The article said they use Jackson for parsing json. A great library by the way.
2 comments

I use Google GSON on Android. Also a great library for serializing and deserializing JSON. I did not yet try the streaming api.
Missed that. Thanks. I'll tuck that little tidbit away for later use.
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.
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/