The Engines.JSON object provides you with two functions, Engines.JSON.toJSON() and Engines.JSON.toObject(), that allow you to convert a JavaScript object to a JSON string and vice versa, respectively.
Since:
5.3
See also:
http://www.json.org
| Function Summary | |
function
|
toJSON( <Object> javaScriptObject )
Converts a JavaScript object into a string containing a JSON syntax representation. |
function
|
toObject( <String> JSONString )
Converts a string containing a JSON syntax representation of a JavaScript object back into an object. |
| Function Detail |
toJSON
function toJSON( <Object> javaScriptObject )
- Converts a JavaScript object into a string containing a JSON syntax representation. It can then be stored in the Klip's preferences or otherwise
manipulated through script.
Since:
5.3
-
Parameters:
javaScriptObject - a JavaScript object to convert to a JSON string
toObject
function toObject( <String> JSONString )
- Converts a string containing a JSON syntax representation of a JavaScript object back into an object.
Since:
5.3
-
Parameters:
JSONString - a JSON string to convert back to a JavaScript object
|
Klipfolio Dashboard API | ||||||||
| PREV OBJECT NEXT OBJECT | FRAMES NO FRAMES | ||||||||
| SUMMARY: PROPERTY | FUNCTION | DETAIL: PROPERTY | FUNCTION | ||||||||
© 2011 Klipfolio Inc. All Rights Reserved.