json-cycle
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "json-cycle", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Encode/decode circular structures for converting to and from JSON.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# json-cycle | ||
[![Join the chat at https://gitter.im/valery-barysok/sails-hook-dev-spirit][gitter-join-chat-image]][gitter-channel-url] | ||
[![Join the chat at https://gitter.im/valery-barysok/json-cycle][gitter-join-chat-image]][gitter-channel-url] | ||
[![NPM Version][npm-version-image]][npm-url] | ||
@@ -21,3 +21,3 @@ [![NPM Downloads][npm-downloads-image]][npm-url] | ||
In your Sails project: | ||
In your project: | ||
@@ -28,2 +28,9 @@ ``` | ||
## 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 | ||
@@ -30,0 +37,0 @@ MIT © 2015 Valery Barysok, Douglas Crockford |
5024
53