After taking a look at it, it seems the problem is on some of the first release of `json-c` with cmake support. I have opened an issued https://github.com/json-c/json-c/issues/886.
Latest releases like 0.17 on `noble`, correctly find `json-c` with `find_package` call