如果是个json字符串 的话,可直接通过 json_decode 函数将字符串转换成object 或array 。 json_decode 官方手册. (PHP 5 >= 5.2.0, PECL json >= 1.2.0).
確定! 回上一頁