You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "This deletes the named property, or the element at a specific index, from the JSON array given.",
16
-
"examples": "json delete property `name` from PersonalDetails\njson delete element 5 of TheArray"
17
-
},
18
-
"json format": {
19
-
"syntax": "json format {item}",
20
-
"description": "~m:json format~ deals with badly-formatted JSON strings that contain redundant spacing and line breaks. It uses the internal ~m:JSON.parse~ and ~m:JSON.stringify~ to get the item into a standard format.",
21
-
"examples": "json format MyData"
22
-
},
23
-
"json parse": {
24
-
"syntax": "json parse {url} as {variable}",
25
-
"description": "This parses a URL, splitting it up into its component parts so they can be easily worked on. In the example above these parts are:\n\n~m:protocol~: The protocol: ~m:https:\/\/~\n\n~m:domain~: The domain: ~m:easycoder.software~\n\n~m:path~: The path: ~demos\/first~\n\n~m:arg~: The CGI parameters: ~value=56~\n\nHere, the result in ~m:ParsedValue~ would be\n\n~m:{<br \/>~\n~m: "protocol":"https:\/\/",<br \/>~\n~m: "domain":"easycoder.software",<br \/>~\n~m: "path":"demos\/first",<br \/>~\n~m: "arg":"value=56"<br \/>~\n~m:}~\n\nSee also ~l:history|k|browser!history~ for managing the browser history",
26
-
"examples": "json parse `https:\/\/easycoder.software\/demos\/first\/?value=56` as ParsedValue"
27
-
},
28
-
"json rename": {
29
-
"syntax": "json rename {property} to {new name} in {object}",
30
-
"description": "This renames a property in a JSON object.",
31
-
"examples": "json rename `mail` to `email` in Details"
32
-
},
33
-
"json sort": {
34
-
"syntax": "json sort {list}",
35
-
"description": "Sorts the contents of a list into ascending alphabetical order.",
36
-
"examples": "json sort MyList"
37
-
},
38
-
"json split": {
39
-
"syntax": "json split {item} [on {separator}] into {variable}",
40
-
"description": "Splits a variable into an array of parts on the given separator. If no separator is given the separator is set to a newline (%0a).",
41
-
"examples": "json split Paragraph into Lines%0ajson split Text on `~` into Tokens"
42
-
}
43
-
},
44
-
"values": {
45
-
"": {
46
-
"syntax": "",
47
-
"description": "",
48
-
"examples": ""
49
-
},
50
-
"json keys": {
51
-
"syntax": "[the] json keys of {object}",
52
-
"description": "Returns the keys of all the properties in the JSON object as a JSON array.",
53
-
"examples": "put the json keys of PersonalDetails into MyArray"
54
-
},
55
-
"json count": {
56
-
"syntax": "[the] json count of {array}",
57
-
"description": "Returns the number of elements in the specified array. See also ~l:json size~, which does the same thing.",
58
-
"examples": "put the json count of Rows into NRows"
59
-
},
60
-
"json size": {
61
-
"syntax": "[the] json size of {array}",
62
-
"description": "Returns the number of elements in the specified array. See also ~l:json count~, which does the same thing.",
63
-
"examples": "put the json size of Rows into NRows"
64
-
},
65
-
"json index": {
66
-
"syntax": "[the] json index of {item} in {array}",
67
-
"description": "Returns the zero-based index of the element in the array, or -1 if it is not present.",
68
-
"examples": "put the json index of `August` in Months into Index"
69
-
}
70
-
},
71
-
"conditions": "{}"
72
-
}
1
+
{"commands":{"json shuffle":{"syntax":"json shuffle {list}","description":"Shuffles the contents of a list into random order.","examples":"json shuffle MyList"},"json add":{"syntax":"json add {item} to {array}","description":"This adds an element to a JSON array.","examples":"json add `Egypt` to Countries"},"json delete":{"syntax":"json delete property {name} from/of {object}njson delete element {index} from/of {array}","description":"This deletes the named property, or the element at a specific index, from the JSON array given.","examples":"json delete property `name` from PersonalDetailsnjson delete element 5 of TheArray"},"json format":{"syntax":"json format {item}","description":"~m:json format~ deals with badly-formatted JSON strings that contain redundant spacing and line breaks. It uses the internal ~m:JSON.parse~ and ~m:JSON.stringify~ to get the item into a standard format.","examples":"json format MyData"},"json parse":{"syntax":"json parse url {url} as {variable}","description":"This parses a URL, splitting it up into its component parts so they can be easily worked on. In the example above these parts are:%0a%0a~m:protocol~: The protocol: ~m:https://~%0a%0a~m:domain~: The domain: ~m:easycoder.software~%0a%0a~m:path~: The path: ~demos/first~%0a%0a~m:arg~: The CGI parameters: ~value=56~%0a%0aHere, the result in ~m:ParsedValue~ would be%0a%0a~m:{<br />~%0a~m: "protocol":"https://",<br />~%0a~m: "domain":"easycoder.software",<br />~%0a~m: "path":"demos/first",<br />~%0a~m: "arg":"value=56"<br />~%0a~m:}~%0a%0aSee also ~l:history|k|browser!history~ for managing the browser history","examples":"json parse url `https://easycoder.software/demos/first/?value=56` as ParsedValue"},"json rename":{"syntax":"json rename {property} to {new name} in {object}","description":"This renames a property in a JSON object.","examples":"json rename `mail` to `email` in Details"},"json sort":{"syntax":"json sort {list}","description":"Sorts the contents of a list into ascending alphabetical order.","examples":"json sort MyList"},"json split":{"syntax":"json split {item} [on {separator}] into {variable}","description":"Splits a variable into an array of parts on the given separator. If no separator is given the separator is set to a newline (%0a).","examples":"json split Paragraph into Lines%0ajson split Text on `~` into Tokens"}},"values":{"":{"syntax":"","description":"","examples":""},"json keys":{"syntax":"[the] json keys of {object}","description":"Returns the keys of all the properties in the JSON object as a JSON array.","examples":"put the json keys of PersonalDetails into MyArray"},"json count":{"syntax":"[the] json count of {array}","description":"Returns the number of elements in the specified array. See also ~l:json size~, which does the same thing.","examples":"put the json count of Rows into NRows"},"json size":{"syntax":"[the] json size of {array}","description":"Returns the number of elements in the specified array. See also ~l:json count~, which does the same thing.","examples":"put the json size of Rows into NRows"},"json index":{"syntax":"[the] json index of {item} in {array}","description":"Returns the zero-based index of the element in the array, or -1 if it is not present.","examples":"put the json index of `August` in Months into Index"}},"conditions":"{}"}
0 commit comments