oly json
JSON Schema with decorators to map and validate data.
oly json is a module of the oly project.
;; ;; json.schemaData; // {properties: [{name: ... json.buildData, ; // Data { name: "John" }json.buildData, ; // throw ValidationException
Installation
$ npm install oly oly-json
Dependencies
JSON-Schema Validator | ajv |