release 2026.02.05
·
9 commits
to main
since this release
Final java.util.json Sandbox Release
This is the last release tracking the OpenJDK jdk-sandbox java.util.json API. Upstream has since moved the API to jdk.incubator.json (see issue #144).
Upstream Source
- Commit: c1a4f80 (2026-02-05)
- Branch:
json— last commit beforepreview -> incubatormove
Changes Since Previous Release
- Added
JsonValue.toInt()andJsonNumber.toInt()— converts JSON numbers toint - Improved Javadoc for all conversion methods with
@implSpecsections - Reordered
valueOrNull()to end ofJsonValueinterface - Preserved local bug fix for
JsonNumber.of(double)offset calculation - Preserved
Utils.powExact()polyfill (not available in Java 21)
API Summary
| Category | Methods |
|---|---|
| Conversion | asBoolean(), toInt(), toLong(), toDouble(), asString() |
| Navigation | get(String), get(int), getOrAbsent(String), valueOrNull() |
| Factory | Json.parse(), JsonNumber.of(), JsonString.of(), etc. |
| Generation | Json.toDisplayString(), toString() |
What's Next
The next release will track jdk.incubator.json which introduces significant API changes including method renames (bool()→asBoolean(), string()→asString(), etc.). Track progress in issue #145.
What's Changed
- JSON Schema: strict coverage headline + docs; single fetch path, compile-session, and logging discipline by @simbo1905 in #37
- JSON Schema: Expand OpenRPC validation IT and examples (#29) by @simbo1905 in #38
- fix CI by @simbo1905 in #50
- Add ai augmented issue and pr templates by @simbo1905 in #52
- Fix issue template path by @simbo1905 in #54
- Update issue templates by @simbo1905 in #55
- Json schema draft4 test.id by @simbo1905 in #60
- Refactor JSON Schema Test Suite with Abstract Base Class and Proper Test Skipping by @simbo1905 in #63
- small fixes by @simbo1905 in #75
- Fix StableValue supplier object method delegation by @simbo1905 in #77
- Issue #58 Fix HttpClient resource management in ApiTracker.java by @simbo1905 in #79
- Issue #59 Fix visibility mismatch in Utils.getPath method signature by @simbo1905 in #80
- Implement JSON Type Definition (JTD) RFC 8927 validator with full compliance (Closes #85) by @simbo1905 in #87
- Fix int32 type validation to reject decimal values (Closes #89) by @simbo1905 in #90
- Fix additionalProperties default value in JTD validator by @simbo1905 in #92
- Fix discriminator validation for simple type mappings by @simbo1905 in #95
- Fix nested elements properties validation and add regression test by @simbo1905 in #97
- jqwik property-based testing for JTD validation
JtdPropertyTestby @simbo1905 in #100 - tidy up by @simbo1905 in #101
- Issue #102: reject invalid discriminators at compile time with clear error and use purely stack based runtime by @simbo1905 in #103
- Issue #109 Auto-create issues for API drift with fingerprint deduplication by @simbo1905 in #113
- Sync upstream commit 91a479d by @simbo1905 in #117
- Json path by @simbo1905 in #125
Full Changelog: release/0.1.9...release/2026.02.05
What's Changed
- JSON Schema: strict coverage headline + docs; single fetch path, compile-session, and logging discipline by @simbo1905 in #37
- JSON Schema: Expand OpenRPC validation IT and examples (#29) by @simbo1905 in #38
- fix CI by @simbo1905 in #50
- Add ai augmented issue and pr templates by @simbo1905 in #52
- Fix issue template path by @simbo1905 in #54
- Update issue templates by @simbo1905 in #55
- Json schema draft4 test.id by @simbo1905 in #60
- Refactor JSON Schema Test Suite with Abstract Base Class and Proper Test Skipping by @simbo1905 in #63
- small fixes by @simbo1905 in #75
- Fix StableValue supplier object method delegation by @simbo1905 in #77
- Issue #58 Fix HttpClient resource management in ApiTracker.java by @simbo1905 in #79
- Issue #59 Fix visibility mismatch in Utils.getPath method signature by @simbo1905 in #80
- Implement JSON Type Definition (JTD) RFC 8927 validator with full compliance (Closes #85) by @simbo1905 in #87
- Fix int32 type validation to reject decimal values (Closes #89) by @simbo1905 in #90
- Fix additionalProperties default value in JTD validator by @simbo1905 in #92
- Fix discriminator validation for simple type mappings by @simbo1905 in #95
- Fix nested elements properties validation and add regression test by @simbo1905 in #97
- jqwik property-based testing for JTD validation
JtdPropertyTestby @simbo1905 in #100 - tidy up by @simbo1905 in #101
- Issue #102: reject invalid discriminators at compile time with clear error and use purely stack based runtime by @simbo1905 in #103
- Issue #109 Auto-create issues for API drift with fingerprint deduplication by @simbo1905 in #113
- Sync upstream commit 91a479d by @simbo1905 in #117
- Json path by @simbo1905 in #125
Full Changelog: release/0.1.9...release/2026.02.05