Hey there, I am looking to convert my array into JSON format. Currently, my array structure looks like this:
Array[0]
abc: Array[1]
0: "English"
length: 1
abc1: Array[2]
0: "English"
1: "Urdu"
length: 2
Here is the structure that I want in JSON using JavaScript:
[
{
"abc": [
{
"0": "English"
},
{
"1": "Urdu"
}
]
}
]