On 9/14/06, Rob Kinyon <[EMAIL PROTECTED]> wrote: > That can be useful. But, that can make the JSON quite huge.
Yes. But, only if you want it to be huge. ;-) > You might want to look at how the Dojo does JSON serialization. What > it does is it looks for a json() method on the object and, if one > exists, it will serialize the return value from that. Otherwise, it > will serialize the object itself. A plugin that does that would be > very nice. The module already does this in some cases (but the method name it looks for is "as_json"). -Nilson Santos F. Jr. _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
