php接收josn过滤html标识转为数组
$array=json_decode(htmlspecialchars_decode($json),true);
htmlspecialchars_decode()过滤html标识
json_decode()第二个参数设置为true转array,false转object
$array=json_decode(htmlspecialchars_decode($json),true);
htmlspecialchars_decode()过滤html标识
json_decode()第二个参数设置为true转array,false转object