hi, i have created a map object using Esri.Map namespace, and added some layer(ArcGISTiledMapServiceLayer, graphic layer etc) to the map object like map.addLayer(new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer")); now i want to convert map object to json since i want to add this map to 'arcGis online portal' using arcGis online api rest services addItem. any kind of help would be greatly appreciated thanks..
... View more