You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,13 @@ Run tests (optional)
26
26
$ npm test
27
27
```
28
28
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
+
29
36
## Usage examples
30
37
31
38
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