AnsweredAssumed Answered

Extracting JSON data from routeTask

Question asked by thewabbit on Dec 18, 2014
Latest reply on Feb 28, 2016 by LinQing

Hey all


I'm working on a network which is being solved using the routeTask api. I'm getting the resulting route displayed on the map fine but what I know want to be able to do is extract the accumulated attributes and display them in a <div> on the page.


The image below is showing the console with what JSON returns.


I've looked at the JS API documentation on the ArcGIS for Devs site as well as looking at general JS guides. I'm still relatively new to JS so i've potentially missed some more advanced code. How would I go about this?


Any help appreciated