"stops" is now an array of arrays: one for each direction.

This commit is contained in:
George Kaklamanos 2015-07-16 14:19:56 +03:00
parent 3034497a81
commit 899fb6103f

View file

@ -3,37 +3,37 @@
"id":"10", "id":"10",
"line":"10", "line":"10",
"name":"Λιμάνι - Π.Α.Γ.Ν.Η.", "name":"Λιμάνι - Π.Α.Γ.Ν.Η.",
"stops":[ "stops":{
"1", "go":["1", "2"],
"2" "come":["2", "1"]
] }
}, },
{ {
"id":"20", "id":"20",
"line":"10", "line":"10",
"name":"Λιμάνι - Πανεπιστήμιο", "name":"Λιμάνι - Πανεπιστήμιο",
"stops":[ "stops":{
"1", "go":["1", "4"],
"4" "come":["4", "1"]
] }
}, },
{ {
"id":"11", "id":"11",
"line":"11", "line":"11",
"name":"Λιμάνι - Αεροδρόμιο", "name":"Λιμάνι - Αεροδρόμιο",
"stops":[ "stops":{
"1", "go":["1", "3"],
"3" "come":["3", "1"]
] }
}, },
{ {
"id":"12", "id":"12",
"line":"12", "line":"12",
"name":"Π.Α.Γ.Ν.Η - Αεροδρόμιο", "name":"Π.Α.Γ.Ν.Η - Αεροδρόμιο",
"stops":[ "stops":{
"2", "go":["2", "3"],
"3" "come":["3", "2"]
] }
} }