cloudcmd/modules/jonny
2016-08-08 21:28:28 +03:00
..
lib feature(util) json -> jonny 2016-07-28 13:06:03 +03:00
.bower.json feature(bower) smalltalk v2.1.2 2016-08-08 21:28:28 +03:00
bower.json feature(util) json -> jonny 2016-07-28 13:06:03 +03:00
LICENSE feature(util) json -> jonny 2016-07-28 13:06:03 +03:00
package.json feature(util) json -> jonny 2016-07-28 13:06:03 +03:00
README.md feature(util) json -> jonny 2016-07-28 13:06:03 +03:00

Jonny

Work with json without exeptions.

Install

npm i jonny --save

How to use?

var jonny   = require('jonny'),
    obj     = jonny.parse('{ "hello": "world" }');
    
    console.log(jonny.stringify(obj, 0, 4));
    // results
    // "{
    // "hello": "world"
    // }"

License

MIT