ajax返回不規則的json數據轉換

如後臺:json格式是{flag:true,msg:'xxx'}, json

 前臺轉換須加var obj = eval("("+paramater+")"); 對象

轉換json對象 後臺

相關文章
相關標籤/搜索