Hello Everyone, I have 3 sets of arrays which looks like this
Emailaddressarray
[
"test1@gmail.com",
"test2@gmail.com",
"test3@gmail.com"
]
TotalPendingItems
[
"280",
"211",
"33"
]
TotalOutstandingItems
[
"40",
"45",
"24"
]
I would like to merge all 3 arrays into single arrays, The output should look like this
[
{ "Email": "test1@gmail.com", "TotalComplete": "280", "TotalOutstanding" : "40" },
{ "Email": "test2@gmail.com", "TotalComplete": "211", "TotalOutstanding" : "45" },
{ "Email": "test3@gmail.com", "TotalComplete": "33", "TotalOutstanding" : "24" }
]
Any help, appreciated.
Thanks