json.removeAll: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) (Initial write-up.) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
json.removeAll(firstArray, array, array, ...) | json.removeAll(firstArray, array, array, ...) | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
json.removeAll(firstObject, object, object, ...) | json.removeAll(firstObject, object, object, ...) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
{{param|firstArray|The [[JSON Array]] to remove the occurrences from.}} | {{param|firstArray|The [[JSON Array]] to remove the occurrences from.}} |
Latest revision as of 23:59, 15 March 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
json.removeAll() Function
• Introduced in version 1.3b53
Removes all the keys or values from the first JSON Object or JSON Array that occur in the following JSON Objects or JSON Arrays.
Usage
json.removeAll(firstArray, array, array, ...)
json.removeAll(firstObject, object, object, ...)
Parameters
firstArray
- The JSON Array to remove the occurrences from.array
- The JSON Arrays to get the occurrences from.firstObject
- The JSON Object to remove the occurrences from.object
- The JSON Objects to get the occurrences from.