Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is google gson running on android?

Tags:

json

android

gson

I'm playing arround with google gson for communication with my web back end at the moment. This and this older posts indicate that there are some problems with gson on android.

I did some easy tests on the device already but maybe I just missed the bug.

Edit I'm now parsing a lot more data. Generic lists etc. still not encountered the bug.

Has anybody used gson on Android already? How does it work? Has somebody encountered bugs or something that will stop me from using it once it gets more complicated?

like image 404
Janusz Avatar asked Mar 04 '10 14:03

Janusz


1 Answers

I've succesfully used it (gson 1.4) with both Android 1.5 and 1.6. No problems at all. The only point is gson still not being able to handle circular references in the objects you try to serialize.

like image 136
Guido Avatar answered Oct 16 '22 19:10

Guido