Discussion created by mhoover12 on Jan 14, 2011
This constructor has got me beat.  Here is an example json string.  To obtain this string, I called toJson() on a graphic, then used Ext.util.JSON.encode() to be able to save and later retrieve it from a database.  Problem is, once I've retrieved it, the constructor esri.Graphic(json) fails to load up the geometry/symbol properties from this json string.  Can anyone assist?


Edit: Well that was easy.  Just had to decode it using Ext.util.JSON.decode() and pass the resulting object to the constructor.