[PerlChina] 大家有将DBIC和JSON结合起来用过么?

cui robin cuiyuming at gmail.com
Mon Mar 17 00:26:00 PDT 2008


Hi,all

我正在使用catalyst来构建一个站点,客户端使用了yahoo的YUI,希望请求得到的数据是JSON格式的。

可我现在不知道如何将DBIC模块得到的数据转换成JSON格式的字串?

DBIC的结果都是object, 大家有知道怎么转换么, 有现成的模块可以用么?


robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20080317/c07795fb/attachment.html 


More information about the China-pm mailing list