Remix.run Logo
whaley 2 hours ago

Meanwhile, Jackson has been going strong for almost 20 years now https://github.com/FasterXML/jackson.

One of my favorite things about Jackson was being able to arbitrarily navigate through the document with a rich and fluent API (JsonNode) in jackson.databind, which this JEP at least conceptually borrows from with the JsonValue abstraction. Both of these are better than how some of the other implementations do it, where you are effectively working with glorified Map<String,Object>

rf15 an hour ago | parent [-]

But isn't JSON de facto conceptually a glorified Map<String,Object> ?

wewtyflakes 36 minutes ago | parent [-]

The root of a JSON document can also be an array.

svieira 26 minutes ago | parent [-]

Or the boolean `true`, or the empty string `""`, or `null`. JSON allows bare "value"s as the root element. https://www.json.org/json-en.html