第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

如何獲取項(xiàng)目值json

如何獲取項(xiàng)目值json

我從 api GET 調(diào)用中獲取 JSON。我正在嘗試獲取我認(rèn)為是數(shù)組的項(xiàng)目的值。我正在嘗試控制臺(tái)記錄 json 的低價(jià)。我試圖像 open.openDate.btcusd[5] 之類的數(shù)組一樣循環(huán)遍歷它。//來自API的JSON數(shù)據(jù) btcusd":{     "high":"9206.36",    "low":"8804.57",     "volume":"1291.122483",      "last":"8989.64",       "bid":"8987.88",        "ask":"8998.24"//稱呼  coin.getOpen()  .then(data=>{    coin.ui(data);    });//功能      async getOpen(){    const openres = await     fetch(`https://api.lakebtc.com/api_v2/ticker`);     const openBtc = await openres.json();     return {    openDate : openBtc    }   }//新函數(shù)到console.log ui(open){ console.log(open.openDate.btcusd); //I want the low value }
查看完整描述

2 回答

  • 2 回答
  • 0 關(guān)注
  • 148 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)