json.fromList
(Redirected from macros:Functions:json.fromList)
json.fromList() Function
• Introduced in version 1.3b49
Returns a JSON Array from a String List.
Usage
json.fromList(strList)
json.fromList(strList, delim)
Parameters
strList
- The String List that is converted to a JSON Array.delim
- The delimiter used in the String List, defaults to","
.
Example
[r:json.fromList("a,1,g,4")]
["a",1,"g",4]