json.toList: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Correcting JSON Array link.) |
mNo edit summary |
||
Line 13: | Line 13: | ||
|examples= | |examples= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
[h:a=json. | [h:a=json.fromList("a,1,g,4")] | ||
[json.toList(a)] | |||
</source> | </source> | ||
Revision as of 21:04, 15 October 2009
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)]
Examples
[h:a=json.fromList("a,1,g,4")]
[json.toList(a)]
Returns
a,1,g,4