Hacker News new | ask | show | jobs
by loeschg 5122 days ago
An application I'm currently building (shameless plug - www.quaffic.com) will definitely benefit from this post. If nothing else, I feel affirmed that we're on the right track. From what you're saying, the value of ACRA is huge. That's my big takeaway at this point. I wondered what the normal process was for getting crash reports from users.

Also, what did you end up doing to alleviate your JSONObject problem? JSONSmart?

1 comments

The article said they use Jackson for parsing json. A great library by the way.
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/