I have a jsonArray object like the "Input" below. I would like the "Output". Could you help me ?
Input :
"["a", "b", "c", "d"]"
Output :
["a", "b", "c", "d"]
//i need a simple list of string
I have found a solution but it's too complex for a simple conversion....
val errorFields = jsonResponse.getJSONArray("my_array")
.join(",")
.replace("\"", "")
.split(",")