var array = {[‘name’=>’hello’, ‘number’=>’000’],[‘name’=>’world’, ‘number’=>’111’]}; var json = JSON.stringify(array); $.post({url,{str:json}…}) php: $str = $_GET[‘str’]; $str = htmlspecialchars_decode($str ); $str = json_decode($str , true); 参考: php解析ajax传输的json null 文章导航 js excellentexport 将table导出成excel表格 小程序传递JSON.stringify到php,解析null