json-component

JSON parser / stringifier

json

JSON parser / stringifier.

$ component install component/json
var json = require('json');
json.parse('{"foo":"bar"}');
// => { foo: 'bar' } 

If you're working with browsers that do not provide a native JSON, then you should install json-fallback and this module will export that instead.

License

MIT