SpreadJS Documentation
toJSON Method
GC.Spread.Formatter Namespace > FormatterBase type : toJSON Method
Saves the object state to a JSON string.
Syntax
var instance = new GC.Spread.Formatter.FormatterBase(format, cultureName);
var value; // Type: Object
value = instance.toJSON();
function toJSON() : Object;

Return Value

The custom formatter data.
See Also

Reference

FormatterBase type