1.1.1 • Published 7 years ago
extensible-compiler v1.1.1
JSON-parser
A simple JSON parser.
How to use
const input = '{"some":["json", "to", "validate"]}';
const map = require('./src/templates/json');
const schema = new Schema(map, input);
if (schema.parse()) alert('Yay! That's some valid JSON!');