json.equals

From RPTools Wiki
Revision as of 06:40, 10 March 2009 by Verisimilar (talk | contribs) (Initial write-up.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

 This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.

json.equals() Function

Introduced in version 1.3b51
Checks if two JSON arrays, or two JSON objects are equal.

Usage

json.equal(array1, array2)
json.equal(object1, object2)

Parameters

  • array1 & array2 - The JSON arrays to compare.
  • object1 & object2 - The JSON objects to compare.