/
JSON

JSON

The Supersede utility uses configuration files written in the JSON format.

These configuration files can be edited with a simple text editor such as Notepad, however, we recommend using a more advanced editor like Notepad++ which includes useful features like syntax highlighting and formatting (via the JSON Viewer plugin).

Reserved Characters and Escapes

Some characters have special meaning in JSON. These characters must be escaped.

Paths and regular expression patterns often include special characters like backslash (\), however, this can break the configuration file.

This can be resolved by placing a backslash character (\) immediately before the special character that is to be escaped.

The following example shows the escape sequence required to configure the supersede path as ..\Superseded.

{ "Supersede": { "Mode": "Move", "Path": "..\\Superseded" } }

Many online tools exist for computing the escaped result for a given string that may contain special characters.