for example I have a List<Point> vertices which has 3 points and each of them have x and y would look in JSON notation?
for example List vertices:
[0] -> x = 1 , y = 2
[1] -> x = 4, y = 5
[2] -> x = 7, y = 5
Considering that object Color has two parameters and in JSON it looks like
"colour":{"value":-16711936,"falpha":0.0}...
So it should look like
"[0]":{"x": 1, "y":2}...
And so on. But i need to put it in the List vertices in JSON.