Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
Add motivation and closure as match rule example
Browse files Browse the repository at this point in the history
  • Loading branch information
Bassem Dghaidi committed May 1, 2020
1 parent d9e4a9e commit 717b231
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ Run tests (optional)
$ npm test
```

## Use cases

1. You can use this module as a basic JSON schema validator
2. Can also be used in unit testing for broader assertions
3. Can be used to extract values from a complex API response (parsing chat bot responses for example)
4. Can be used for a JSON linter

## Usage examples

Keep in mind that the tester object can be a subset of the payload. You don't have to write explicit rules for all the properties of the payload object.
Expand Down

0 comments on commit 717b231

Please sign in to comment.