Skip to content

Latest commit

 

History

History
 
 

json.comparable

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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