我有以下 javascript 对象。在这个对象上我想执行查找和替换操作。我只想替换第二列的值。我想用 替换 'total'XXXX
和 'data' DDDD
。执行此操作的最有效方法是什么。
{
"Result": [
[
"1",
"Total",
"Franchise",
"5,491,396,782",
"2,691,451,027"
],
[
"2",
"Total",
"Growth",
"68,727,420",
"45,152,969"
],
[
"3",
"Total",
"Research",
"3,970,296,773",
"1,921,277,988"
],
[
"4",
"Data",
"Franchise",
"4,793,487,319",
"2,347,241,939"
],
[
"5",
"Data",
"Growth",
"65,353,557",
"40,817,844"
],
[
"6",
"Data",
"Research",
"3,411,890,959",
"1,644,610,206"
]
]
}
谢谢