Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto-Gentili committed Oct 25, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 9659068 commit 295e342
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -189,11 +189,6 @@ facade.validator().registerCheck(
```
Once registered the checks, to execute the validation we must call the `validate` method:
```java
//Loading the JSON object
ObjectHandler objectHandler = facade.newObjectHandler(
ObjectHandlerTest.class.getClassLoader().getResourceAsStream("quiz.json"),
Root.class
);
Collection<Throwable> exceptions =
facade.validator().validate(
Validation.Config.forJsonObject(objectHandler.getValue())

0 comments on commit 295e342

Please sign in to comment.