Hacker News
new
past
comments
ask
show
jobs
points
by
pron
2 hours ago
|
comments
by
dtech
2 hours ago
|
[-]
That's not what the person I replied to asked at all, arbitrary types weren't mentioned.
They literally asked why they couldn't write JsonObject.of(Map.of(...))
reply
by
pron
2 hours ago
|
parent
|
[-]
And there's nothing in Java preventing that. In fact, it is trivial to implement that exact API
on top
of the API proposed in the JEP.
reply