Hi all,
I have a string array like below
["ft", "sample", "data", "qwerty", "asdf", "test", "test1", "ewewe", "euro", "euro1", "euro2", "euro3", "euro4", "euro5"]
need convert dynamically into json like below if columns added json format also change
"ft": {
title: 'FT'
},
"sample": {
title: 'Sample'
},
"data": {
title: 'Data'
},
"qwerty": {
title: 'QWERTY'
}
how can i achieve this dynamically