php json_decode无法处理\解决方法

<pre>
$aa=urlencode('eee\ee');
$dfda='[
{"company":"测试","job":"11","start":"2016.09","end":"2016.11","details":"'.$aa.'","time":"1467460549","income":"12121"}
]
$work_experience = json_decode($dfda, true);
print_r($work_experience);
exit();
</pre>

所以直接传json的数据的时候 最好里面的非数字内容全部urlencode传过来 确保万无一失

 

 

 

相关文章:

  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-04-24
  • 2021-06-03
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2022-01-17
  • 2022-12-23
  • 2022-01-26
  • 2021-11-27
  • 2021-10-15
  • 2021-07-05
相关资源
相似解决方案