json.fromStrProp: Difference between revisions
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 difference)
|
Revision as of 10:05, 24 December 2008
Function json.fromStrProp
This function can only be called from a trusted macro
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}