json.equals: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
json.equals(array1, array2) | json.equals(array1, array2) | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
json.equals(object1, object2) | json.equals(object1, object2) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
* {{code|array1}} & {{code|array2}} - The JSON arrays to compare. | * {{code|array1}} & {{code|array2}} - The JSON arrays to compare. |
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.
json.equals() Function
• Introduced in version 1.3b51
Checks if two JSON arrays, or two JSON objects are equal.
Usage
json.equals(array1, array2)
json.equals(object1, object2)
Parameters
array1
&array2
- The JSON arrays to compare.object1
&object2
- The JSON objects to compare.