json.fromStrProp

From RPTools Wiki
Revision as of 10:08, 24 December 2008 by Craig (talk | contribs)
Jump to navigation Jump to search

Function json.fromStrProp

Introduced in MapTool 1.3b49

Creates a json object from a string property list.

Usage

[h: jobj = json.fromStrProp(strProp)]


Examples

[r:json.fromStrProp("a=1;b=44;c=12")]

Returns

  {"a":1,"c":12,"b":44}