Tuning my firmware build for a very resource constrained router, I've
noticed that there are several json-related shared libraries:
1) libjson-c
2) libblobmsg_json
3) libjson_script
4) libjansson
and maybe even more.

I understand that some of them are built on top of each other but
libjson-c and libjansson seem to provide almost the same
functionality. libjansson comes from libnftables and this dependency
is pretty hard to break because libnftables heavily utilizes the
json_pack feature of jansson which is absent in libjson-c.

But it seems that libjson-c has nothing that can't be taken from
jansson. libnftables dependency is quite fundamental and can't be
avoided. But it seems that the other stuff can be switched to jansson.
Are there any plans to do it?

-- 
With best regards
  Maksim Dmitrichenko

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to