You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**✅Enable early adoption**: Let developers try the unstable Java JSON patterns today on JDK 21+
49
54
-**✅API compatibility over performance**: Focus on matching the emerging "batteries included" API design rather than competing with existing JSON libraries on speed.
@@ -82,7 +87,7 @@ This is a simplified backport with the following changes from the original:
82
87
83
88
These vulnerabilities exist in the upstream OpenJDK sandbox implementation and are reported here for transparency.
84
89
85
-
## JSON Schema Validator
90
+
## JSON Schema Validator (2020-12)
86
91
87
92
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.
88
93
@@ -99,7 +104,7 @@ var result = schema.validate(
99
104
// result.valid() => true
100
105
```
101
106
102
-
Compatibility: we run the official 2020-12 JSON Schema Test Suite on verify; in strict mode it currently passes about 71% of applicable cases.
107
+
Compatibility: runs the official 2020‑12 JSON Schema Test Suite on `verify`; in strict mode it currently passes about 71% of applicable cases.
Copy file name to clipboardExpand all lines: json-java21-api-tracker/pom.xml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,15 @@
6
6
7
7
<parent>
8
8
<groupId>io.github.simbo1905.json</groupId>
9
-
<artifactId>json-java21-parent</artifactId>
9
+
<artifactId>parent</artifactId>
10
10
<version>0.1.0</version>
11
11
</parent>
12
12
13
13
<artifactId>json-java21-api-tracker</artifactId>
14
14
<packaging>jar</packaging>
15
15
16
-
<name>API Tracker</name>
16
+
<name>java.util.json Java21 Backport Upstream API Tracker</name>
17
+
<description>Compares the OpenJDK sandbox java.util.json API to this Java 21 backport and reports differences to track upstream changes. Experimental tooling.</description>
<description>Experimental JSON Schema 2020-12 validator built using the java.util.json Java 21 backport; includes integration tests running the official JSON Schema Test Suite.</description>
Copy file name to clipboardExpand all lines: json-java21/pom.xml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,15 @@
6
6
7
7
<parent>
8
8
<groupId>io.github.simbo1905.json</groupId>
9
-
<artifactId>json-java21-parent</artifactId>
9
+
<artifactId>parent</artifactId>
10
10
<version>0.1.0</version>
11
11
</parent>
12
12
13
-
<artifactId>json-java21</artifactId>
13
+
<artifactId>java.util.json</artifactId>
14
14
<packaging>jar</packaging>
15
15
16
-
<name>java.util.json Backport</name>
16
+
<name>java.util.json Java21 Backport</name>
17
+
<description>Backport of the OpenJDK sandbox java.util.json API adapted for Java 21+. Experimental; APIs and behavior may change as upstream evolves.</description>
<description>Backport of the OpenJDK jdk-sandbox java.util.json sources adapted for Java 21+. Experimental and subject to change; not an official OpenJDK release.</description>
0 commit comments