json.toStrProp: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page json.toStrProp to Json.toStrProp without leaving a redirect: Converting page title to first-letter uppercase) |
m (Conversion script moved page Json.toStrProp to json.toStrProp: Converting page titles to lowercase) |
(No difference)
|
Revision as of 23:02, 9 February 2023
json.toStrProp() Function
• Introduced in version 1.3b49
Creates a string list from a json object or json array using the specified delimiter in the result. If a delimiter is not provided then the default value of ';' is used.
Usage
[h: strProp = json.toStrProp(jobj)]
[h: strProp = json.toStrProp(jobj, delim)]
Parameters
jobj
- JSON Object or Arraydelim
- Delimiter used in output
Example
[h:a=json.fromStrProp("a=1;b=44;c=12")] [r:json.toStrProp(a)]
[h:a=json.fromList("a,1,g,4")][r:json.toStrProp(a)]
Returns
a=1;c=12;b=44
0=a;1=1;2=g;3=4