json-tkit
is a toolkit for JSON.
It supports serializing javascript object with circular references to JSON and vice versa.
Inspiring JSON-js with NPM and TypeScript support.
npm install json-tkit
import * as jsonx from "json-tkit";
let o: any = {};
o.o = o;
let s = jsonx.stringify(o);
console.log(s);
let o2 = jsonx.parse(s);
console.log(o2.o == o2);