Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 876 Bytes

File metadata and controls

25 lines (13 loc) · 876 Bytes

json.comparable

version

Extension

Adds the comparable() method to JSON, which make it possible to compare two values on equality. It sorts arrays and objects before doing a JSON.stringify() comparison.

Source: jib:stackoverflow

Install

npm install @extendscript/aes.patch.json.comparable

Include

#include 'node_modules/@extendscript/aes.patch.json.comparable/comparable.js'

Test

You can test the code against a range of targets:

npm run test target-1 target-2

We keep a log of test results