New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rson

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rson

Recursive Simplified Object Notation

latest
Source
npmnpm
Version
1.6.3
Version published
Maintainers
1
Created
Source

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>

Keywords

json

FAQs

Package last updated on 14 Sep 2017

Did you know?

Socket

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