cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@apache.org>
Subject Re: 2.2 using cocoon-ajax-impl
Date Fri, 25 May 2007 10:21:11 GMT

On 24 May 2007, at 08:01, Marc Portier wrote:

> anyways trying to explain the issue: System.JSON.js quite clearly  
> states that it only supports serialization of some basic types, and  
> collections and maps
>
> so people that want to serialize out custom java beans to JSON have  
> two options
>
> 1. add that functionality to the JSON stuff by overriding the  
> _serializeValue function (or using dojo-binding-like  -yes on the  
> server side- aop advise on it
>
> 2. convert their java-objects first to maps and collections of the  
> mentioned basic structures...
>

Hi Guys

Yes, the JSON serialization flowscript is really basic. I just did  
what was needed to solve a simple problem.

JSON supports so few datatypes.

regards Jeremy
Mime
View raw message