I have a JSON array of data which is
[ [[2, 5], [6, 10], [10, 7], [11, 15]],
[[0, 9], [1, 16], [3, 19], [4, 15]],
[[0, 7], [5, 16], [8, 17], [12, 19]] ]
but when I try to get the first array of [[2, 5], [6, 10], [10, 7], [11, 15]]
using jsonData[0]
I get the data as 2,5,6,10,10,7,11,15
.
I would like to get the data in the JSON format and not the plain text format. Any ideas?