node-json

0.0.2 • Public • Published

node-json

parse json with a loose standard

Usage

var requireJson = require('node-json').require;
var parseJson = require('node-json').parse;

/*
 * a.json content:
 */
 * {
 *   //comment
 *   "name": "aab"
 * }
 */

requireJson('a.json');

parseJson('{name:"xxxx"}');

Readme

Keywords

none

Package Sidebar

Install

npm i node-json

Weekly Downloads

8

Version

0.0.2

License

ISC

Last publish

Collaborators

  • xiaocong.hxc