All Commands
All Variables
Commands
JSON_ENCODE_VAR
Encode a variable as a JSON string
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | name | String | The name of the variable to encode. It can be the name of an array. |
Example 1 Example
["John","Toby","Ellen","Josey"]
Example 2 Example
{"name":"John","age":"30","city":"London"}
Example 3 Example
[Hello\tWorld!]