Skip to main content

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

NameTypeDescriptionDefined By
varvarVariable name file:writejson
filenamestringFilename/URL file:writejson