PHP 的json_encode()函数与JSON对象. ... 而 json_encode((object)['data' => $onLines]); 得到的还是json字符串。 前端. var obj = JSON.parse(str);
確定! 回上一頁