string optionalThe text to encode. Usually a field-getter such as string or {headline........}, but any expression or literal works. Leading and trailing whitespace is trimmed, then the result is returned wrapped in double quotes with JSON escaping applied. If omitted, the output is an empty JSON string: a pair of double quotes.
[{jsonstring:Hello}]
[{jsonstring:She said "stop" loudly}]
[{jsonstring:path\to\file}]
[{jsonstring:C#:\Temp}]
[{jsonstring:reports/2024/q1}]
[{jsonstring: Praha }]
[{jsonstring:}]
{"label":{jsonstring:Tom's "news" pick}}
[{jsonstring:_#FULLTEXT}]
<button onclick="addToCart(_#ITEM_ID,{jsonstring:_#HEADLINE})">Add</button>