json.fromStrProp: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function json.fromStrProp== {{TrustedOnlyFunction}} '''Introduced in MapTool 1.3b49''' Creates a Macros:json object from a Macros:string property list. ===Usage=== <source...)
 
No edit summary
Line 1: Line 1:
==Function json.fromStrProp==
==Function json.fromStrProp==
{{TrustedOnlyFunction}}
 





Revision as of 10:08, 24 December 2008

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}