Extension
Adds decycle()
and retrocycle()
to JSON, which make it possible to encode cyclical structures and dags in JSON, and to then recover them.
Source: JSON-js
npm install @extendscript/aes.patch.json.cycle
#include 'node_modules/@extendscript/aes.patch.json.cycle/cycle.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