Skip to content

Commit d15c09d

Browse files
committed
docs
1 parent bb9ae15 commit d15c09d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

json-java21-schema/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ import jdk.sandbox.java.util.json.*;
1313

1414
public sealed interface JsonSchema permits JsonSchema.Nothing {
1515

16-
// Prevents external implementations
17-
enum Nothing implements JsonSchema {
18-
INSTANCE;
19-
}
20-
2116
// Factory method to create schema from JSON
2217
static JsonSchema compile(JsonValue schemaJson) {
2318
// Parses JSON Schema document into immutable record hierarchy
@@ -117,4 +112,4 @@ if (!result.valid()) {
117112
System.out.println(error.path() + ": " + error.message());
118113
}
119114
}
120-
```
115+
```

0 commit comments

Comments
 (0)