We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9ae15 commit d15c09dCopy full SHA for d15c09d
json-java21-schema/README.md
@@ -13,11 +13,6 @@ import jdk.sandbox.java.util.json.*;
13
14
public sealed interface JsonSchema permits JsonSchema.Nothing {
15
16
- // Prevents external implementations
17
- enum Nothing implements JsonSchema {
18
- INSTANCE;
19
- }
20
-
21
// Factory method to create schema from JSON
22
static JsonSchema compile(JsonValue schemaJson) {
23
// Parses JSON Schema document into immutable record hierarchy
@@ -117,4 +112,4 @@ if (!result.valid()) {
117
112
System.out.println(error.path() + ": " + error.message());
118
113
}
119
114
120
-```
115
+```
0 commit comments