I have a database full of JSON encoded directions results that I got by using the v2 api. I would like to migrate my application to v3, but it appears the format of directions responses has changed considerably. Has anyone tried to convert this data? If not, could anyone point me in the right direction? I'm not sure how to convert the polyline data, which is all I really care about. Here is an example v2 directions response that I have in case it helps:
{"copyrightsHtml" : "Map data ©2010 Google ","summaryHtml":"472 ft","Distance":{"meters": 144,"html":"144 m"},"Duration":{"seconds":6,"html":"0 minutes"},"Routes":[{"Distance":{"meters": 144,"html":"144 m"},"Duration":{"seconds":6,"html":"0 minutes"},"Steps":[{"descriptionHtml":"Head \u003cb\u003esouth\u003c/b \u003e on \u003cb\u003eColumbus Dr/\u003cwbr/\u003eEast-West Arterial \u003c/b\u003e toward \u003cb\u003eUnion St\u003c/b\u003e","Distance": {"meters":144,"html":"144 m"},"Duration":{"seconds":6,"html":"0 minutes"},"Point":{"coordinates": [-73.93024,41.70459,0]},"polylineIndex":0}],"End":{"coordinates": [-73.9306,41.70333,0]},"polylineIndex":1}],"Polyline": {"id":"route634130758702413172","points":"ulp}F~nfbMzFfA"}} -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.