从5.2版本开始,PHP原生提供json_encode()和json_decode()函数,前者用于编码,后者用于解码。 一、json_encode(). 复制代码 代码如下: <?php $arr = array ('a'=>1 ...
確定! 回上一頁