Let's say i have the following list in Json and i wish to interchange every value (X,Y) to (Y,X)
[
[
[
99.624023,
6.249776
],
[
100.17334,
5.790897
],
[
100.50293,
3.754634
],
[
100.876465,
2.833317
],
[
99.624023,
6.249776
]
]
]
Can i ask any simple and better method to solve this case?