Hi Jean-Baptiste,

Am 29.06.2009 um 14:11 schrieb Jean-Baptiste BRIAUD -- Novlog:

> About other lib, I was thinking about http://code.google.com/p/google-gson/
> Any feedback ?

Never used it, so I'm not able to comment.

> I didn't read anything about Date restriction in gson.
> I understand that qooxdoo Date serialization is special but all good
> implementation of JSON serializer allow for custom serialization/
> deserialization, so we could make qooxdoo Date serialization case
> optional.

Careful with that. Usually, custom (de)serialization is achieved via  
additional attributes ("hints") in the transmitted JSON data. However,  
the Date support in qooxdoo works via direct "new Date(...)"  
expressions. I haven't looked at the Google lib you mentioned, but I  
seriously doubt that this kind of syntax can be plugged in easily.  
(Again, we might not want to keep the qooxdoo date support, but that's  
a separate discussion, see bug #1400.)

Anyway, why are you so keen on replacing the low-level JSON lib on the  
Java side? What's wrong with the one from json.org? I'd say "never  
touch a running system" in this case, except there's something  
seriously wrong or missing from the json.org version.

Regards,

   Andreas


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to