//
[{name: "title", value: "1"},
{name: "startTime", value: "17:00:16"},
{name: "endTime", value: "19:01:18"},
{name: "title", value: "2"},
{name: "startTime", value: "20:03:18"},
{name: "endTime", value: "21:04:20"}]
//
[{title: "1", startTime: "17:00:16", endTime: "19:01:18"},
{title: "2", startTime: "20:03:18", endTime: "21:04:20"}]
I wrote a lot of loops to implement it, so I would like to ask if there is a more elegant way to implement it