
JEP 540: Simple JSON API
I still remember the first time I had to grab a single value out of a JSON response and reached for Jackson to do it. Add the dependency, register the ObjectMapper, write a DTO for a payload I was going to look at exactly once, all to read one field. It felt like renting a moving truck to carry a suitcase. That has been the story of JSON in Java for two decades now. Jackson, Gson, JSON-P, all excellent libraries, all doing far more than you need for the quick stuff. Meanwhile in Python you write json.loads(response.text)["forecast"][0]["temp"] and you are done. Java never had an answer for that. Until now, maybe. ...








