Skip to content

JSONWrite

Homes32 edited this page May 14, 2022 · 2 revisions

JSONWrite

Set/Modify an JSON value.

Syntax

JSONWrite,<JSONFile>,<Path>,<Value>

Arguments

Argument Description
JSONFile Full path to the JSON filed to read.
Path GJSON Path notation used to locate the value to read.
Value The value to write.

Return Codes

None.

Remarks

For help with GJSON Path Notation see Path Syntax Help.

Related

JSONCompact, JSONDelete, JSONPretty, JSONWrite

Examples

Example 1


JSONWrite,"C:\Temp\Test.json","JS_FILEEXPLORER.4th_filename","explorer++.exe"