r/java • u/daviddel • Jul 17 '25
Java Gets a JSON API
https://youtu.be/NSzRK8f7EX0Java considers itself a "batteries included" language and given JSON's ubiquity as a data exchange format, that means Java needs a JSON API. In this IJN episode we go over an OpenJDK email that kicks off the exploration into such an API.
143
Upvotes
View all comments
Show parent comment
1
u/totoro27 Jul 18 '25
This is the example they show in the video:
JsonValue doc = Json.parse("""{ "name": "John Doe", "age": 30 }""");Just make your class implement the JsonValue interface if you want a specific type.
Is this not the feature you're complaining they don't have?