3 ms·
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
by triathlete 14y 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.
- njern 14y agoI 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.
- maatanin 14y agoAnother neat library is JSON Simple if you looked for SAX style json parsing. http://code.google.com/p/json-simple/ http://code.google.com/p/json-simple/