Idea for Graphic toJson() method

495
0
08-27-2013 03:04 PM
BenFousek
Occasional Contributor III
When creating json of a graphic it would be nice to optionally specify whether or not to include symbol, attributes and infoTemplate in the result.

Like this for example:
var json = graphic.toJson(
  {
    infoTemplate: false
  }
);


Just a thought. Keep up the good work jsapi team!
0 Kudos
0 Replies