On Mon, 10 Aug 2026 17:36:35 GMT, Naoto Sato <[email protected]> wrote:
> 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). src/jdk.incubator.json/share/classes/jdk/incubator/json/package-info.java line 65: > 63: * {@code JsonValue.toString()} produces the most compact representation > which does not > 64: * include JSON insignificant whitespaces, preferable for network > transaction > 65: * or storage. {@code Json.toDisplayString(JsonValue, String)} produces a > text which "network transaction" -> "network transmission" or "network transfer" ? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32282#discussion_r3784805006
