Wednesday, August 30, 2017

AJV - the JSON Schema validator


  • Ajv is the fastest JSON Schema validator for node.js and browser.
  • Ajv compiles schemas into functions - ajv.compile(<your schema>)
  • ajv.validate(<your json data>) returns the errors.


So far I feel comfortable with this site to practice JSON validations: 

https://json-schema-validator.herokuapp.com/


Read more:
https://www.npmjs.com/package/ajv



No comments:

Post a Comment