json_decode()从AngularJS返回json对象的null

时间:2016-08-23 05:33:04

标签: php angularjs json

这是我的JSON对象:

[{\"tablevalue\":\"5\",\"$$hashKey\":\"object:82\"},{\"tablevalue\":\"11\",\"$$hashKey\":\"object:87\"}]

JSON对象是AngularJS中使用JSON转换为JSON.stringify的数组。

当我在PHP中使用json_decode()对其进行解码时,它会返回null

1 个答案:

答案 0 :(得分:0)

我通过使用剥离斜线解决了这个问题。