Security and reliability for JavaScript applications. Ensure your data is valid as soon as it's received. Instead of having your data validation and sanitization logic written as lengthy code, you can declare the requirements to your data with concise, easy to read and cross-platform JSON Schema or JSON Type Definition specifications and validate the data as soon as it arrives to your application. TypeScript users can use validation functions as type guards, having type level guarantee that if your data is validated, it is correct. Ajv was designed at the time when there were no validators fully complying with JSON Schema specification, aiming to achieve the best possibly validation performance via just-in-time compilation of JSON schemas to code. Ajv achieved both speed and rigour, but initially security was an afterthought, many security flaws have been fixed thanks to the reports from its users.

Features

  • Compiles your schemas to optimized JavaScript code
  • Ajv generates code to turn JSON Schemas into super-fast validation functions that are efficient for v8 optimization
  • Currently Ajv is the fastest and the most standard compliant validator
  • Ajv version 7 was rebuilt to have secure code generation embedded in its design
  • Use JSON Type Definition or JSON Schema
  • JTD has tools for both validation and type code generation for multiple languages

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow Ajv JSON schema validator

Ajv JSON schema validator Web Site

You Might Also Like
Gain insights and build data-powered applications Icon
Gain insights and build data-powered applications

Your unified business intelligence platform. Self-service. Governed. Embedded.

Chat with your business data with Looker. More than just a modern business intelligence platform, you can turn to Looker for self-service or governed BI, build your own custom applications with trusted metrics, or even bring Looker modeling to your existing BI environment.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ajv JSON schema validator!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript JSON Software

Registered

2021-06-23