[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
JSON in Database  XML
Forum Index » Wishlist
Author Message
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 182
Offline

Hi Matthew,

it would be nice to have JSON instead of binary Object.writeObject() in the database.

One can fix class related problems manually for instance ;-).

Arne
apl

Initiate

Joined: 08/05/2009 13:22:03
Messages: 182
Offline

If I see it right, there are 3 ways to serialize/deserialize a object...

1. writeObject -> Database
2. JSONRemote* -> Im/Export
3. Dwr-JSON -> DWR

Is this right?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1847
Offline

Technically yes. But all three are intended for different purposes, and have subtle differences. E.g. number 2 could be used for database serialization, but not in its current form because it is XID-based (not a deal breaker, really, but not ideal). Also, the current object serialization assumes data integrity. If it were text-base and therefore human editable, the code should no longer assume this.

Best regards,
Matthew Lohbihler
 
Forum Index » Wishlist
Go to:   
Powered by JForum 2.1.9 © JForum Team