json.toList: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
[h: jarr = json.toList(jarr, delim)] | [h: jarr = json.toList(jarr, delim)] | ||
</source> | </source> | ||
'''Parameters''' | |||
{{param|jarr|JSON Array}} | |||
{{param|delim|Delimiter used in output}} | |||
|examples= | |examples= |
Revision as of 15:00, 8 January 2020
json.toList() Function
• Introduced in version 1.3b49
Creates a string list from a JSON Array. If the delimiter is not specified then the default value of ',' is used.
Usage
[h: jarr = json.toList(jarr)]
[h: jarr = json.toList(jarr, delim)]
Parameters
jarr
- JSON Arraydelim
- Delimiter used in output
Examples
[h:a=json.fromList("a,1,g,4")]
[json.toList(a)]
Returns
a,1,g,4