想把文本 1 和文本 2 ,合并为文本 3 , 2 个数据源, date 是日期,然后另外 2 个不同字段,想合并到一张表中,也就是合并成同一个 json ,求助,有办法吗
文本 1 :
[{"aaaaa": 0, "date": "12.13"},
{"aaaaa": 0, "date": "12.14"},
{"aaaaa": 220, "date": "12.15"},
{"aaaaa": 0, "date": "12.16"},
{"aaaaa": 0, "date": "12.17"}
]
文本 2 :
[{"bbbbb": 0, "date": "12.13"},
{"bbbbb": 0, "date": "12.14"},
{"bbbbb": 0, "date": "12.15"},
{"bbbbb": 0, "date": "12.16"},
{"bbbbb": 0, "date": "12.17"}
]
目标文本 3 :
[{"bbbbb": 0,"aaaaa": 0, "date": "12.13"},
{"bbbbb": 0,"aaaaa": 0, "date": "12.14"},
{"bbbbb": 0,"aaaaa": 220, "date": "12.15"},
{"bbbbb": 0,"aaaaa": 0, "date": "12.16"},
{"bbbbb": 0,"aaaaa": 0, "date": "12.17"},
]