node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Validate JSON documents with Jassi.

Getting Started

Install this grunt plugin next to your project's Gruntfile.js with this command:

npm install grunt-jassi

Then add this line to the Gruntfile.js file:


Jassi task

Run this task with the grunt jassi command.

This task is a multi task so any targets, files and options should be specified according to the multi task documentation.



Type: String Default: empty string

Specifies the path to a file containing the JSON schema needed to validate the data against.

Usage example

In this example, running grunt jassi will validate the src/data.json document against the src/schema.json schema.

// Project configuration. 
  jassi: {
   options: {
   schema: 'src/schema.json'
    src: 'src/data.json'