> 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).
Naoto Sato has updated the pull request incrementally with 11 additional commits since the last revision: - Merge remote-tracking branch 'jdk-sandbox/json' into JDK-8381976-Implementation-for-Simple-JSON-API - JSON document -> JSON text - values -> elements in ArrayFrame - Get rid of intermediate indent strings in generation code - Make generation forward based only - Missing spaces - Used reversed() for iteration - Removed object COLON state, unnecessary ternaries - Removed unnecessary variables - Replaced recursive calls with iterative operation to avoid SOEs - ... and 1 more: https://git.openjdk.org/jdk/compare/95678822...cdd0f9c4 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32282/files - new: https://git.openjdk.org/jdk/pull/32282/files/95678822..cdd0f9c4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32282&range=05 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32282&range=04-05 Stats: 534 lines in 16 files changed: 322 ins; 117 del; 95 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
