Write JSON file
XML
<file:writejson var="var" filename="string"/>
<file:writejson /> writes the JavaScript Object Notation (JSON) representation of the value of a variable according to RFC 4627 to a file.
<file:writejson /> is the complement of the <file:readjson /> operation.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Variable name | file:writejson |
| filename | string | Filename/URL | file:writejson |