I want to get the json response of graphics layer.How do I convert it.
if I use JSON.stringify(graphics_layer); I get an error of "converting circular structure to json".
Is there any other way or option.
hello Andy Gup , I wanted to save the whole json string as it is in database.
Yes finally I did the same. Thanks for ur reply,now m sure that m going in a correct way.
What are you trying to do with the JSON? You can loop thru the graphics in a GraphicsLayer and use the Graphic.toJson() method: graphic-amd | API Reference | ArcGIS API for JavaScript
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.