Tags: validation* + json* + jsv*

0 bookmark(s) - Sort by: Date ↓ / Title /

  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: tagged with "validation+json+jsv"

About - Propulsed by SemanticScuttle