Thursday 7 April 2022

Multiple json-parsing C libraries included in the default install

As part of reviewing priority mismatches for the jammy release[1], I noticed
that we are now pulling two json-parsing C libraries into the default Ubuntu
install. We have had libjson-c in the default install for a while, as a
dependency of libcryptsetup (and others); and libjansson has been in main
since 2015, but is now being pulled into the default install by both
mtr-tiny and nftables.

Is there any hope of consolidation here? Having two competing C
implementations of any sort of parser library in main seems like a
suboptimal choice.

Does anyone have a view on which of these two implementations is of higher
quality or has a better API?

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org

[1] https://people.canonical.com/~ubuntu-archive/priority-mismatches.html