json-model
json-model copied to clipboard
Generate JavaScript classes/code from JSON Schema
Hi, I'd like to use this module for online schema traversal and validation in a vue.js web application. I'm using webpack, and I'm getting some compilation errors when I import...
I've generated a report of what tests in the [official JSON-schema test suite](https://github.com/json-schema/JSON-Schema-Test-Suite) cause side effects when run through json-model: https://github.com/Muscula/json-schema-benchmark/blob/master/reports/json-model-side-effects.md The schema object is mutated by json-model
I've generated an error report here: https://github.com/Muscula/json-schema-benchmark/blob/master/reports/json-model.md All the test failing marked with `This excludes this validator from performance tests` almost all other validators pass, and are a part of...
Encountered this error when using json-model. It's because json-model uses strict mode. ``` /home/ubuntu/workspace/node_modules/json-model/json-model.js:1362 var resolveUrl = schema2js.util.resolveUrl; ^^^^^^^^^^ SyntaxError: Variable 'resolveUrl' has already been declared ```
having ``` javascript rootschema = { "id": "root.json", "person": { "id": "#personDetails", "type": "object", "properties": { "firstName": { "type": "string" }, "lastName": { "type": "string" }, "age": { "type": "number"...
info req
continuing [SO discussion](http://stackoverflow.com/questions/26549971/json-schema-get-the-schema-for-given-property-in-js) ... a couple of Qs -1 you say `json-model` is _faster but fewer features_ comparing tv4.. what features does it lacks? -2 could you tell more about...