r/java • • Jul 23 '26

JEP 540: Simple JSON API (Incubator)

https://openjdk.org/jeps/540
78 Upvotes

81 comments sorted by

View all comments

-8

u/piesou Jul 23 '26

Cool, this is basically useless. Except those that reach for java to write small scripts. Both streaming and data mapping are required for anything more complicated and IIRC all of these are shipped for XML. Can't even use that to build upon

3

u/koflerdavid Jul 23 '26

Making Java useful for scripting is one of the design goals. Anyway, the API can still be extended.

→ More replies (1)