json的遍历

 var arr = [null,{"ADDR":"","BZ":"","CZSJ":"","DYMC":"哈哈","FJH":"","GRMJ":"","GRQ":"","GRQF":0,"KH":"","LHMC":"","QFJE":0,"SFLX":"","TRQF":0,"XQMC":"","YHBH":"","YHLB":"","YHXM":"","ZNJ":0}]
        for(var i in arr){
            if(arr[i]!=null){
                console.log(arr[i].DYMC);
            }
        }

你可能感兴趣的:(java,javascript,json)