D3嵌套数据删除对象ID级别

时间:2018-11-26 20:08:46

标签: json d3.js

我正在寻找一种删除对象值ID的方法: 根据该数据:

for (let psp of pspList){
    let tmpDeliveryList = await this.filterPspDeliveries(psp.deliveryList);
    psp.deliveryList = tmpDeliveryList;
}

我想实现这一目标。

[
  {
    "key": "test14",
    "values": [
      {
        "accuracy": 0.04584040881114014,
        "epoch": 0,
        "loss": 3.908684137519228,
        "name": "test14",
        "val_accuracy": 0.1878172606229782,
        "val_loss": 3.8432216644287114
      }

]

0 个答案:

没有答案