Fight With Me!!!

导航

JS 对java返回的json格式的数据处理

var dataObj=eval("("+res+")");

alert(dataObj.billBuy)

 

//res是如下的数据

{"billBuy":"1001BRNO1102160002","stkid":"","timeBk":"","timeBuy":"","typeBuy":"","value":"60","valueBk":"0","valueLeft":"60","wayBk":""}

posted on 2016-06-11 15:06  nickTimer  阅读(673)  评论(0编辑  收藏  举报