json.removeAll

From MapToolDoc
Jump to: navigation, search

 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

  1. json.removeAll(firstArray, array, array, ...)
  1. 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

json.unique()