php 远程获取到的json数据格式的问题
远程获取到的数据如下:try{getNavigationChildListSuccess({"childCount":"2","childList":[{"Id":"1"...
远程获取到的数据如下:
try { getNavigationChildListSuccess({
"childCount":"2",
"childList":[
{
"Id":"1",
"Name":"电脑硬件/周边/网络设备",
"Class":"0",
"nav":"1"
},
{
"Id":"2001",
"Name":"时尚饰品",
"Class":"0",
"nav":"1"
}
]
}
);}catch(e1){try{getNavigationChildListFail(e1);}catch(e2){}}
格式变了一下不会用了 怎么用php读取出这里面的数据来 .. 展开
try { getNavigationChildListSuccess({
"childCount":"2",
"childList":[
{
"Id":"1",
"Name":"电脑硬件/周边/网络设备",
"Class":"0",
"nav":"1"
},
{
"Id":"2001",
"Name":"时尚饰品",
"Class":"0",
"nav":"1"
}
]
}
);}catch(e1){try{getNavigationChildListFail(e1);}catch(e2){}}
格式变了一下不会用了 怎么用php读取出这里面的数据来 .. 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询