https://github.com/threeletters/rson
Recursive Simplified Object Notation - A data structure that works for circular structures. (Plus, it is very compact)
https://github.com/threeletters/rson
data-serialization experimental nodejs npm-package
Last synced: 10 months ago
JSON representation
Recursive Simplified Object Notation - A data structure that works for circular structures. (Plus, it is very compact)
- Host: GitHub
- URL: https://github.com/threeletters/rson
- Owner: ThreeLetters
- License: mit
- Created: 2016-09-11T15:57:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T13:48:16.000Z (over 8 years ago)
- Last Synced: 2025-03-05T04:01:57.966Z (11 months ago)
- Topics: data-serialization, experimental, nodejs, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/rson
- Size: 75.2 KB
- Stars: 6
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/rson)
[](https://paypal.me/andrews54757)
# RSON
Recursive Simplified Object Notation
### Why RSON?
Rson is much compacter than JSON. It was designed to have a minimum number of charactors. It also supports recursion and functions. RSON is made for preserving complex object structures as a string.
### Usage
> npm install rson
code
```js
var RSON = require('rson');
...
RSON.stringify(objects); // use to stringify
...
RSON.parse(rsontext); // use to parse
```
### For browsers
for minified `https://cdn.rawgit.com/AJS-development/RSON/master/browsers/rson-minified.js`
non-minified `https://cdn.rawgit.com/AJS-development/RSON/master/browsers/rson.js`
##### Usage
```html
```