php让json不转义斜杠

 

json_encode($str,JSON_UNESCAPED_SLASHES)

 

posted @ 2021-04-20 19:34  周小黑  阅读(369)  评论(0编辑  收藏  举报