Thanks for the hint Alex.

It has been a good starting point at least for how to iterate over
Qooxdoo objects properties.

I was just missing some additional features that I needed to implement
in the helper class :
- keep some control on the properties that actually get transferred,
e.g. public writable properties; I'm trying to mimic the way
Flex/BlazeDS works when transferring AS objects to the java backend
back and forth.
- allow for additional behaviour, e.g. automatic client-side class
hinting when constructing back Qooxdoo based objects out of untyped JS
objects. Even "hardcoding" some special mapping, e.g.
qx.data.IListData <-> java.uil.List.
- recursive handling of the object graph (but no circular dependency yet)

Regards,
Vincent

2009/5/25, Alexander Back <[email protected]>:
> Hi Vincent,
>
> On Friday 22 May 2009 Vincent Vandenschrick wrote:
>> So, here is the question : What is the best way to plug-in a custom JSON
>> serialization/de-serialization strategy on the client side ? It seems
>> that the qx.util.Json static class is responsible for this but I don't
>> have a clue on how to cleanly override its default behavior.
> The class "qx.core.Object" does offer a "serialize" method (still in
> EXPERIMENTAL state). Maybe this method can help you further, at least for
> the
> serialization.
>
> cheers,
>   Alex
>
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to