json.removeAll: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page Json.removeAll to json.removeAll: Converting page titles to lowercase)
No edit summary
 
Line 7: Line 7:


|usage=
|usage=
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
json.removeAll(firstArray, array, array, ...)
json.removeAll(firstArray, array, array, ...)
</source>
</syntaxhighlight>
<source lang="mtmacro" line>
<syntaxhighlight lang="mtmacro" line>
json.removeAll(firstObject, object, object, ...)
json.removeAll(firstObject, object, object, ...)
</source>
</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 16:39, 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.


See Also