json.fromList: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Applied Template:MacroFunction)
(No difference)

Revision as of 02:05, 9 March 2009

json.fromList() Function

Introduced in version 1.3b49
Creates a json array from a string list.

Usage

[h: jarr = json.fromList(strProp)]

Example

[r:json.fromList("a,1,g,4")]

Returns

["a",1,"g",4]