I put an example in photo:
So, I'll have a list of coordinates. These coordinates would be just the longitude and latitude of several places. So I would not want to go through JSON. But I do not know if it's possible to do it just by passing this data to "Google direction". If so, would you have an example?