-1
我有下面的代码在PHP编码JSON奇怪的字符,当我编码JSON
$arr = array('htmlOutput' => $htmloput, 'no_rows' => 'blah');
echo json_encode($arr);
$ htmloput包含HTML标记。
出于某种原因,在输出中有很多\ t \ t \ t \ t \ t \ t \ t。另外,在JSON中编码时,在标记中做单引号或双引号会导致任何proples?