{"action":"created","issue":{"url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/95","labels_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/95/comments","events_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/95/events","html_url":"https://github.com/googlemaps/google-maps-services-java/issues/95","id":94657551,"number":95,"title":"java.lang.IllegalStateException: Expected a name but was STRING at line 17 column 23 path $.routes[0].fare.text","user":{"login":"harrychangdev","id":13233758,"avatar_url":"https://avatars.githubusercontent.com/u/13233758?v=3","gravatar_id":"","url":"https://api.github.com/users/harrychangdev","html_url":"https://github.com/harrychangdev","followers_url":"https://api.github.com/users/harrychangdev/followers","following_url":"https://api.github.com/users/harrychangdev/following{/other_user}","gists_url":"https://api.github.com/users/harrychangdev/gists{/gist_id}","starred_url":"https://api.github.com/users/harrychangdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrychangdev/subscriptions","organizations_url":"https://api.github.com/users/harrychangdev/orgs","repos_url":"https://api.github.com/users/harrychangdev/repos","events_url":"https://api.github.com/users/harrychangdev/events{/privacy}","received_events_url":"https://api.github.com/users/harrychangdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T07:31:00Z","updated_at":"2015-10-15T04:08:26Z","closed_at":null,"body":"I use DirectionsApi, but some place at transit mode will have Exception\r\n\r\nfor example\r\n\r\nDirectionsRoute[] routes = DirectionsApi.newRequest(context)\r\n                    .mode(TravelMode.TRANSIT)\r\n                    .origin(\"Taipei 101\")\r\n                    .destination(\"Tainan\")\r\n                    .await();\r\n\r\nand it will throw an error\r\n\r\ncom.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a name but was STRING at line 17 column 23 path $.routes[0].fare.text\r\n\r\nsome place's direction is okay but some will go wrong\r\n\r\nI don't know why"},"comment":{"url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/comments/148275886","html_url":"https://github.com/googlemaps/google-maps-services-java/issues/95#issuecomment-148275886","issue_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/95","id":148275886,"user":{"login":"domesticmouse","id":30503,"avatar_url":"https://avatars.githubusercontent.com/u/30503?v=3","gravatar_id":"","url":"https://api.github.com/users/domesticmouse","html_url":"https://github.com/domesticmouse","followers_url":"https://api.github.com/users/domesticmouse/followers","following_url":"https://api.github.com/users/domesticmouse/following{/other_user}","gists_url":"https://api.github.com/users/domesticmouse/gists{/gist_id}","starred_url":"https://api.github.com/users/domesticmouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domesticmouse/subscriptions","organizations_url":"https://api.github.com/users/domesticmouse/orgs","repos_url":"https://api.github.com/users/domesticmouse/repos","events_url":"https://api.github.com/users/domesticmouse/events{/privacy}","received_events_url":"https://api.github.com/users/domesticmouse/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T04:08:26Z","updated_at":"2015-10-15T04:08:26Z","body":"Is this still an issue for you? I have tried the above code and it works as intended."}}