From my service I am generating the JSON based on the language.I need to covert the array to the map which contains one value as key and another as value (lot of value in the arrays based on the database).
I have written the code I am getting the array and only "I need to convert into the list of key value pair like the given sample and write in the text file.
JSON from my service
[
[
"task",
"Comments"
],
[
"CUSTOM_43_01",
"Email"
],
[
"CUSTOM_44_02",
"Mobile"
],..........
]