From a013b49b965669d9d673ab6f153e80c15d95eebf Mon Sep 17 00:00:00 2001 From: Tom Bentley Date: Tue, 16 Apr 2024 18:17:35 +0100 Subject: [PATCH] Fix code example in README.md The code example in the README had an error. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9a8c8336..020f460f7 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ String input = "{\r\n" Set assertions = schema.validate(input, InputFormat.JSON, executionContext -> { // By default since Draft 2019-09 the format keyword only generates annotations and not assertions - executionContext.getConfig().setFormatAssertionsEnabled(true); + executionContext.getExecutionConfig().setFormatAssertionsEnabled(true); }); ```