This PR implements [JEP 540: Simple JSON API 
(Incubator)](https://openjdk.org/jeps/540).

It adds the `jdk.incubator.json` module which provides APIs for reading and 
writing JSON documents as specified by [RFC 
8259](https://datatracker.ietf.org/doc/html/rfc8259). This is an incubating API.

API documentation: 
https://cr.openjdk.org/~naoto/json/javadoc/api/jdk.incubator.json/module-summary.html
Co-authored-by: Justin Lu 
([@justin-curtis-lu](https://github.com/justin-curtis-lu))

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Merge remote-tracking branch 'jdk-sandbox/json' into 
JDK-8381976-Implementation-for-Simple-JSON-API
 - Removed unused imports
 - Removed unnecessary qualifiers
 - Merge remote-tracking branch 'jdk-sandbox/json' into 
JDK-8381976-Implementation-for-Simple-JSON-API
 - Merge branch 'toDisplayString' into json
 - wording
 - Test case refinement
 - Merge branch 'json' into toDisplayString
 - Json.toDisplayString(JV, String)
 - Explicitly mention that changes to char[] have no effect on resultant jv
 - ... and 712 more: https://git.openjdk.org/jdk/compare/bc674c21...802c1f94

Changes: https://git.openjdk.org/jdk/pull/32282/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32282&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8381976
  Stats: 5354 lines in 34 files changed: 5335 ins; 0 del; 19 mod
  Patch: https://git.openjdk.org/jdk/pull/32282.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32282/head:pull/32282

PR: https://git.openjdk.org/jdk/pull/32282

Reply via email to