json-encode

1.0.1 • Public • Published

json-encode-cycles

replaces circluar references in objects with jsonpaths.

usage

import {encodeCycles} from 'json-encode';

encodeCycles(obj);

alternatively you can extend the functionality of the JSON object itself:

require('json-encode').install();
JSON.encodeCycles(obj);

Readme

Keywords

none

Package Sidebar

Install

npm i json-encode

Weekly Downloads

5

Version

1.0.1

License

ISC

Last publish

Collaborators

  • nikhedonia