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

Commit 717b231

Browse files
author
Bassem Dghaidi
committed
Add motivation and closure as match rule example
1 parent d9e4a9e commit 717b231

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ Run tests (optional)
2626
$ npm test
2727
```
2828

29+
## Use cases
30+
31+
1. You can use this module as a basic JSON schema validator
32+
2. Can also be used in unit testing for broader assertions
33+
3. Can be used to extract values from a complex API response (parsing chat bot responses for example)
34+
4. Can be used for a JSON linter
35+
2936
## Usage examples
3037

3138
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.

0 commit comments

Comments
 (0)