jsonic-ometajs
A JSON parser that also accepts C-style comments.Use
var jsonic = require('jsonic-ometajs');
var val = jsonic.parse('/* Comment */{ "Hello": "World" }\n// Hi');
var jsonic = require('jsonic-ometajs');
var val = jsonic.parse('/* Comment */{ "Hello": "World" }\n// Hi');
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.