toJSON();
The toJSON method converts a specified range to JSON object.
To execute the example, the HTML page must contain the TabSheet component named tabSheet (see Example of Creating the TabSheet Component), and the TabSheetObject component (see the TabSheetObject Constructor page). Convert the tabSheetObject object to JSON object:
// Get object parameters in the JSON format objJSON = tabSheetObject.toJSON();
After executing the example the browser console displays parameters of the tabSheetObject object in the JSON format:
Object {@I: "tabSheetHomeIconObject", @CN: "PP.Ui.TabSheetObject", @LC: 1, @TR: 0, @L: 0…}
See also: