Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/component/json

JSON parser / stringifier
https://github.com/component/json

Last synced: 13 days ago
JSON representation

JSON parser / stringifier

Awesome Lists containing this project

README

        

# json

JSON parser / stringifier.

## Installation

$ component install component/json

## Example

```js
var json = require('json');
json.parse('{"foo":"bar"}');
// => { foo: 'bar' }
```

## Fallback

If you're working with browsers that do not provide a native `JSON`,
then you should install [json-fallback](https://github.com/component/json-fallback)
and this module will export that instead.

# License

MIT