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
npm install @extendscript/aes.patch.json.comparable
#include 'node_modules/@extendscript/aes.patch.json.comparable/comparable.js'
You can test the code against a range of targets:
npm run test target-1 target-2
We keep a log of test results