ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage class : saveToJson Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function saveToJson() : string; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.saveToJson(); |
This function saves all the marks that are currently associated with the ArtPage to a JSON string.
Note: The JSON format is not a file format and should not be stored in a file or database for later use. The format of JSON strings is specific to a single revision of ImageGear and future versions will not support JSON strings written with this version. If you wish to store marks permanently, use the ImageGear ART XML file formats. You must use the server function, ImageGear.Web.UI.ArtConnection.Write to save JSON strings to the ART XML file format.