This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
action:Set_Dictionary_to_JSON [2019/06/24 01:52] peternlewis created |
action:Set_Dictionary_to_JSON [2019/06/24 02:07] peternlewis |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Set Dictionary to JSON ====== | ====== Set Dictionary to JSON ====== | ||
- | The //Set Dictionary to JSON// (v9.0+) action lets you set a set a Keyboard Maestro dictionary from a [[manual:JSON]] dictionary. | + | The //Set Dictionary to JSON// (v9.0+) action lets you set a Keyboard Maestro dictionary from a [[manual:JSON]] dictionary. |
{{ set-dictionary-to-json.png?nolink&591x157 | Set Dictionary to JSON }} | {{ set-dictionary-to-json.png?nolink&591x157 | Set Dictionary to JSON }} | ||
Line 17: | Line 17: | ||
* 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 dictionary values for entries that are themselves JSON containers (See [[manual:JSON]]). | + | You can select Pretty JSON result mode, which affects the dictionary values for entries that are themselves JSON containers (See the [[manual:JSON]] user manual section). |
- | You can select Strict JSON result mode, which affects the dictionary values for entries that are plain strings (See [[manual:JSON]]). | + | You can select Strict JSON result mode, which affects the dictionary values for entries that are plain strings (See the [[manual:JSON]] user manual section). |
And you can optionally have all the non-matching keys removed. | And you can optionally have all the non-matching keys removed. | ||
Line 30: | Line 30: | ||
* [[action:Set_Variables_to_JSON|Set Variables to JSON]] | * [[action:Set_Variables_to_JSON|Set Variables to JSON]] | ||
+ | * [[action:Set_JSON_Value |Set JSON Value]] | ||
* [[:Actions|See all Actions]] | * [[:Actions|See all Actions]] | ||