How to convert primitive array into object array with key and value?

your query run as charm there were no errors. but now i am trying to remove one step which adds the keys to the array elements please check my other question i will be thankful.
thanks

1 Like