Recursive Simplified Object Notation
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.
npm install rson
code
var RSON = require('rson');
...
RSON.stringify(objects); // use to stringify
...
RSON.parse(rsontext); // use to parse
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
<script type="text/javascript" src="https://cdn.rawgit.com/AJS-development/RSON/master/browsers/rson-minified.js"></script>