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

haidong jia haidongj at gmail.com
Mon Mar 17 00:28:11 PDT 2008


js提供一个json的转换函数可以查一下,你用的是ext2吧

2008/3/17 cui robin <cuiyuming at gmail.com>:

> Hi,all
>
> 我正在使用catalyst来构建一个站点,客户端使用了yahoo的YUI,希望请求得到的数据是JSON格式的。
>
> 可我现在不知道如何将DBIC模块得到的数据转换成JSON格式的字串?
>
> DBIC的结果都是object, 大家有知道怎么转换么, 有现成的模块可以用么?
>
>
> robin
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20080317/84c07ac1/attachment.html 


More information about the China-pm mailing list