JSON functions
- Applies to:
- All MindTouch Versions
- Role required:
- Admin
These JSON functions are part of the DekiScript and Expert runtime environment.
json.emit(value) : str
Convert DekiScript value to JavaScript Object Notation (JSON) value.
Name | Type | Description |
---|---|---|
value | any | (optional) value to convert |
Example
json.emit(page);
json.format(value) : str
Render JavaScript Object Notation (JSON) value as a pretty string.
Name | Type | Description |
---|---|---|
value | any | (optional) value to convert |
json.parse(value) : any
Convert JavaScript Object Notation (JSON) value to a DekiScript value.
Name | Type | Description |
---|---|---|
value | str | (optional) value to convert |