c_id: 76523456,
output: {
alert_level: 1,
data: {
volume: 56,
date: '10th June 2016'
},
alert_level: 2,
data: {
volume: 26,
date: '10th July 2016'
}
}
}
有人可以帮忙。我们如何通过php代码应用双引号,然后对其进行解码?
答案 0 :(得分:-1)
如果我没有错,这应该是json的结构,你期待的......
[{
"alert_level": 1,
"data": {
"volume": 56,
"date": "10th June 2016"
}
}, {
"alert_level": 2,
"data": {
"volume": 26,
"date": "10th July 2016"
}
}]
列表/数组
中的dict