I have some rather complex data objects that currently get marshaled from client to server and server to client (comet communication). Btw, not complex in quantity of data, or data relationships, but data is arrays of lots of different derived interface/class types. The data used to be just serialized but now it needs to be sent via JSON.
Is it possible to perform regular Java object serialization in the GWT client? If so, I could solve this by converting that binary output into Base64 encoded string and send that via the new JSON API and then just reverse that on the server. Is it even possible to do this in GWT?
Of course the other approach is to convert the Java object into a full JSON object but given it's complexity I haven't found a way to do that yet (I posted separate newsgroup message on that approach). Either approach would be fine for me, I can worry about performance differences later.
-Dave