json.fromStrProp: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Fixing wikilink)
Line 3: Line 3:
|version=1.3b49
|version=1.3b49
|description=
|description=
Creates a [[Macros:json object|json object]] from a [[Macros:string property list|string property list]].  
Creates a [[JSON Object|json object]] from a [[Macros:string property list|string property list]].  


|usage=
|usage=

Revision as of 09:11, 24 July 2011

json.fromStrProp() Function

Introduced in version 1.3b49

Usage

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

Example

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

Returns

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