json.toList

From RPTools Wiki
Revision as of 02:22, 9 March 2009 by Verisimilar (talk | contribs) (Applied Template:MacroFunction)
Jump to navigation Jump to search

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.toList("a,1,g,4")][json.toList(a)]

Returns

a,1,g,4