Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 313 Bytes
var JSON = require('json-ometajs');
ometa JSONIC <: JSON {
token = (spaces | fromTo('/*', '*/') | fromTo('//', '\n'))* /true|false|null|:|"|'|\{|\}|\[|\]|,/:t -> [ t, t ],
root = value:v (spaces | fromTo('/*', '*/') | fromTo('//', '\n'))* end -> v
}
JSONIC.parse = JSON.parse;
module.exports = JSONIC;