json.fromList

From RPTools Wiki
Jump to navigation Jump to search

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]