Skip to content

Recursive Simplified Object Notation - A data structure that works for circular structures. (Plus, it is very compact)

License

Notifications You must be signed in to change notification settings

ThreeLetters/RSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM Donate

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

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
<script type="text/javascript" src="https://cdn.rawgit.com/AJS-development/RSON/master/browsers/rson-minified.js"></script>

About

Recursive Simplified Object Notation - A data structure that works for circular structures. (Plus, it is very compact)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published