PHP解析带反斜杠的json

又一篇记录水文

<?php
$data = '{"s":"7196B94C37181878DBA9D6824E0","str_msg":"{\"no\":\"200309203212d98\",\"date\":\"20200309\",\"id\":\"909274\"}"}';
$data = htmlspecialchars_decode($data);
$data = json_decode($data,true);

本文链接:

http://logs.ee/coding/20200309/18.html
1 + 1 =
快来做第一个评论的人吧~