问题遇到的现象和发生背景
[
{"metric":"100188","dps":{"1655803011":1.0,"1655803059":4.0},"aggregateTags":[],"tags":{"vis":"vis"}},
{"metric":"100188","dps":{"1655803011":2.0,"1655803059":5.0},"aggregateTags":[],"tags":{"den":"den"}},
{"metric":"100188","dps":{"1655803011":3.0,"1655803059":6.0},"aggregateTags":[],"tags":{"cpu":"cpu"}}
]
我想要达到的结果
这段数据使用java怎么转成
[{ "metric" : "100188","vis" : 1.0, "den" : 2.0,"cpu" : 3.0,"recordtime" : "1655803011"},
{ "metric" : "100188","vis" : 4.0, "den" : 5.0,"cpu" : 6.0,"recordtime" : "1655803059"}
]