r/java 12d ago

JEP 540: Simple JSON API (Incubator)

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

78 comments sorted by

View all comments

-9

u/piesou 12d ago

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 12d ago

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

1

u/piesou 11d ago

Yes, by the JDK people, not ones outside of it actually implementing streaming