I need to convert the array of objects into an array of a key present in the object. The desired output should be an [array of username].
[
{
"UserID":"66e7ba60-9ad2-41a1-83f2-f8cf97afb97d",
"UserName":"Karthik Kumar",
"UserEmail":"karthikbuyer@365media.in",
"UserType":"2"
},
{
"UserID":"292716bd-5386-4371-8ef9-e8ebbebb432f",
"UserName":"karthik kumar",
"UserEmail":"karthikvendor@365media.in",
"UserType":"3"
},
{
"UserID":"d23eb3e0-1bcd-429f-9268-6cdd95772b08",
"UserName":"karthikeyan rajendran",
"UserEmail":"kartik1235@gmail.com",
"UserType":"3"
}
]