On Wed, 2 Sep 2026 18:49:49 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)), Stuart Marks 
>> ([@stuart-marks](https://github.com/stuart-marks)) 
>> 
>> ---------
>> - [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 with a new target base due to a merge 
> or a rebase. The pull request now contains 812 commits:
> 
>  - Merge remote-tracking branch 'jdk-sandbox/json' into 
> JDK-8381976-Implementation-for-Simple-JSON-API
>  - Document impl class fields and invariants
>  - Improve comments within JNI.initNumLong
>  - Merge branch 'master' into json
>  - Merge branch 'master' into JDK-8381976-Implementation-for-Simple-JSON-API
>  - Merge remote-tracking branch 'jdk-sandbox/json' into 
> JDK-8381976-Implementation-for-Simple-JSON-API
>  - Use SequencedMap type for the member field
>  - Merge remote-tracking branch 'jdk-sandbox/json' into 
> JDK-8381976-Implementation-for-Simple-JSON-API
>  - Removed the empty JsonObject case
>  - JsonObjectImpl(SequencedMap)
>  - ... and 802 more: https://git.openjdk.org/jdk/compare/77fd1033...777cc3ca

src/jdk.incubator.json/share/classes/jdk/incubator/json/package-info.java line 
105:

> 103:  * }
> 104:  * }
> 105:  * While the code above throws an exception if the type is neither 
> {@code JsonString} or

Grammar nit: better to use "neither X *nor* Y" rather than "neither X *or* Y".

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

PR Review Comment: https://git.openjdk.org/jdk/pull/32282#discussion_r3919173313

Reply via email to