一 JAVASCRIPT:
编码: JSON.parse(str)
解码: JSON.stringify(obj)
二 PHP:
编码: json_encode($str)
解码: json_decode($obj)
来源: http://www.bubuko.com/infodetail-2529736.html