AnsweredAssumed Answered

Convert a graphicsLayer to JSON

Question asked by Sowjanya on Feb 3, 2012
Latest reply on Aug 2, 2015 by sokay37
Is there a way to convert an entire GraphicsLayer to JSON?
I was able to use dojo.toJson(graphics[i].toJson()) and convert individual graphics from a GraphicsLayer to JSON, so could anyone throw light on how to convert the entire layer to JSON?
I'm trying to store/save the JSON format of a graphics layer and then re-load it back to the user.

Thnx in adavance,
SS.

Outcomes