aboutsummaryrefslogtreecommitdiffstats
path: root/global-config.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-12-25 22:22:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-12-25 23:04:50 +0100
commitef3ce7cc6c43b28e6a80345d9861775767ba86f4 (patch)
tree58ed397946136a678aaddadb70b3f609a0a2bc84 /global-config.rsc
parent8212bd6c95935f02335d7d774bd3115a2c071fb1 (diff)
global-functions: $ParseKeyValueStore: support JSON as input
This used to require a key=value store, separated with commas. An example for `netwatch-notify` is: /tool/netwatch/add comment="notify, name=example.com" host=93.184.215.14; Now JSON is supported as well, so you could use: /tool/netwatch/add comment="{\"notify\":true,\"name\":\"example.com\"}" host=93.184.215.14; Looks more clumsy here, but may be of help in more complex setups...
Diffstat (limited to 'global-config.rsc')
0 files changed, 0 insertions, 0 deletions