json.get: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Applied Template:MacroFunction) |
Verisimilar (talk | contribs) m (Macros:Functions:json.get moved to json.get) |
(No difference)
|
Revision as of 02:09, 9 March 2009
json.get() Function
• Introduced in version 1.3b49
Usage
[h: jarr = json.get(jarr, index)]
[h: jarr = json.get(jobj, key)]
Example
[h:a=json.fromStrProp("a=1;b=44;c=12")] [json.get(a,"b")]
[h:a=json.fromList("1,44,12")] [json.get(a,1)]
Returns
4444