mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
26 lines
319 B
Markdown
26 lines
319 B
Markdown
# Jonny
|
|
|
|
Work with json without exeptions.
|
|
|
|
## Install
|
|
|
|
```
|
|
npm i jonny --save
|
|
```
|
|
|
|
## How to use?
|
|
|
|
```js
|
|
var jonny = require('jonny'),
|
|
obj = jonny.parse('{ "hello": "world" }');
|
|
|
|
console.log(jonny.stringify(obj, 0, 4));
|
|
// results
|
|
// "{
|
|
// "hello": "world"
|
|
// }"
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|