php 中元生支持 json, 见json_encode, json_decode 而javascript见http://www.cnblogs.com/si812cn/archive/2009/04/29/1445896.html