klotz: jsv* + json-schema*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. var JSV = require("./jsv").JSV;
    var json = {};
    var schema = {"type" : "object"};
    var env = JSV.createEnvironment();
    var report = env.validate(json, schema);

    if (report.errors.length === 0) {
    //JSON is valid against the schema
    }
    2015-05-22 Tags: , , , , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: jsv + json-schema

About - Propulsed by SemanticScuttle