php让json不转义斜杠

json_encode($str,JSON_UNESCAPED_SLASHES)

一个96年的PHPER
原文地址:https://www.cnblogs.com/zhouxiaohei/p/14682516.html