action:Set_Variables_to_JSON
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| action:Set_Variables_to_JSON [2019/06/24 05:45] – peternlewis | action:Set_Variables_to_JSON [2019/06/25 03:38] (current) – peternlewis | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| {{ set-variables-to-json.png? | {{ set-variables-to-json.png? | ||
| - | The action will take a specified prefix and a JSON container (dictionary or array) and will set variables based on the prefix and the field name or array index to the corresponding values. | + | The action will take a specified prefix and a JSON container (dictionary or array) and will set variables based on the prefix and the field names or array indices |
| For example, with prefix `JSON` and JSON dictionary `{ " | For example, with prefix `JSON` and JSON dictionary `{ " | ||
| Line 19: | Line 19: | ||
| * Process Nothing (process neither text tokens nor backslash characters) | * Process Nothing (process neither text tokens nor backslash characters) | ||
| - | You can select Pretty JSON result mode, which affects the variable values for entries that are themselves JSON containers (See [[manual: | + | You can select Pretty JSON result mode, which affects the variable values for entries that are themselves JSON containers (See the [[manual: |
| - | You can select Strict JSON result mode, which affects the variable values for entries that are plain strings (See [[manual: | + | You can select Strict JSON result mode, which affects the variable values for entries that are plain strings (See the [[manual: |
| And you can optionally have all the non-matching variables with the specified prefix removed (as long as the prefix is not empty). | And you can optionally have all the non-matching variables with the specified prefix removed (as long as the prefix is not empty). | ||
| ===== See Also ===== | ===== See Also ===== | ||
| + | |||
| + | See the [[manual: | ||
| === Actions === | === Actions === | ||
| - | * [[action:Notification|Notification]] | + | * [[action:Set_JSON_Value |
| + | * [[action: | ||
| * [[: | * [[: | ||
| + | |||
| + | === Functions === | ||
| + | |||
| + | * [[function: | ||
| + | * [[function: | ||
| + | * [[: | ||
| === Tokens === | === Tokens === | ||
| - | * [[:Tokens |See all Tokens]] | + | * [[token: |
| + | * [[token: | ||
| + | * [[token: | ||
| + | * [[: | ||
| + | |||
| + | === Collections === | ||
| + | * [[collection: | ||
| + | * [[: | ||
action/Set_Variables_to_JSON.1561355136.txt.gz · Last modified: by peternlewis
