Skip to content

Commit b897993

Browse files
authored
Update README for clarity and accuracy
1 parent 8399a59 commit b897993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ These vulnerabilities exist in the upstream OpenJDK sandbox implementation and a
8181

8282
## JSON Schema Validator
8383

84-
By including a basic schema validator good enough to validate simple JSON RPC 2.0 for MCP communication, this demonstrates how to build a realistic feature out of the core API. To demonstrate the power of the core API, it follows Data Oriented Programming principles: it parses JSON Schema into an immutable structure of records, then for validation it parses the JSON to the generic structure and uses the thread-safe parsed schema as the model to validate the JSON being checked.
84+
By including a basic schema validator that demonstrates how to build a realistic feature out of the core API. To demonstrate the power of the core API, it follows Data Oriented Programming principles: it parses JSON Schema into an immutable structure of records, then for validation it parses the JSON to the generic structure and uses the thread-safe parsed schema as the model to validate the JSON being checked.
8585

8686
A simple JSON Schema (2020-12 subset) validator is included (module: json-java21-schema).
8787

@@ -96,7 +96,7 @@ var result = schema.validate(
9696
// result.valid() => true
9797
```
9898

99-
Compatibility: we run the official JSON Schema Test Suite on verify; in strict mode it currently passes about 71% of applicable cases.
99+
Compatibility: we run the official 2020-12 JSON Schema Test Suite on verify; in strict mode it currently passes about 71% of applicable cases.
100100

101101
## Building
102102

0 commit comments

Comments
 (0)