Convert graphiclayer to JSON

Discussion created by papegowda on Oct 3, 2013
Latest reply on Oct 3, 2013 by knisleyj
Is there a way to convert GraphicsLayer to JSON
when user draws a relining(lines, points and polygon) and i need to give option to save this redling data in a SQLLite database, so that user can view the saved redling in feature.
to make this i need to convert the graphic layer to json.

Thanks in advance