I used Google direction API and received data as a json file. My url is like
and I used optimized:true parameter. As I read it gives me optimal path from source to destination through the waypoints. And now i dont know structure of json file exactly. I look up the structure of json file but i don t know how can i take order of path that Google direction API gives me.