| Operator Type: | Function |
| Operator Scope of Action: | Item |
| Operator Purpose: | Formatting |
jsonEncode(data)
This operator (added in v5.7.0) returns a JSON-encoded UTF-8 version of the data string. The apostrophe (straight single quote), straight double quote, solidus (forward slash) and backslash characters are all escaped by a preceding backslash character.
For string-type data, see also the '.json' operator.
