
This panel can be displayed when editing the Add Item to Container Array, Create Container from JSON and the Set Item in Container statements.
Note that only Array and Object items can be specified.
On this panel standard JSON escape sequences can be used. The only Yate escape sequences which can be specified are the insertion of a track (\v#) or named variable's (\<named variable>) content. Note that these escape sequences will only work if they are embedded in a JSON string. When inserting these items their content will be automatically escaped for JSON.
"album name" : "\<AlbumName>"
The panel has Format and Compress buttons which verify the JSON text and perform the specified function. If Yate escape sequences are not embedded in a JSON string, there will be errors when parsing.
There is also a View button which will display the JSON text in the Container Viewer.
The panel can also replace the text with a sample template suitable for use with the Prompt from Container statement. To do this select the Prompt Template button. The information button to the right of the Prompt Template button will display the help for the Prompt from Container statement.
When creating JSON for use with the Prompt from Container statement, you may use markup sequences in a help key's string value. At runtime an <m> sequence will automatically be inserted at the start of the string if it does not begin with an http, ? or <m> sequence. When adding markup sequences in this panel, an <m> tag will be inserted at the start of the JSON text if the sequences are inserted via a markup menu or keyboard shortcut. This tag will automatically be removed when saving the JSON text and can be ignored.