Socket
Socket
Sign inDemoInstall

json-cycle

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    json-cycle

Encode/decode circular structures for converting to and from JSON.


Version published
Maintainers
1
Install size
5.59 kB
Created

Readme

Source

json-cycle

Join the chat at https://gitter.im/valery-barysok/json-cycle NPM Version NPM Downloads Node.js Version

Build Status Dependency Status devDependency Status Coverage Status

NPM

Utilities provide ability to encode/decode circular structures for converting to and from JSON.

Based on JSON-js

Install

In your project:

npm install json-cycle --save

Details

This package contains two functions, decycle and retrocycle, which make it possible to encode cyclical structures and convert them to JSON, and then recover them. This is a capability that is not provided by ES5. JSONPath is used to represent the links. [http://GOESSNER.net/articles/JsonPath/]

License

MIT © 2015 Valery Barysok, Douglas Crockford

Keywords

FAQs

Last updated on 16 Sep 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc