I have this warning message from clang when compiling a C++ project using Jansson JSON library.
clang: warning: -ljansson: 'linker' input unused
I'd like to get rid of it but I really have no idea what causes this.
Here is the CMake in…
I am trying to link a Library to my C program but I can't make it work
according to the library doc https://jansson.readthedocs.io/en/latest/gettingstarted.html#compiling-and-installing-jansson all I have to do is put
pkg-config --cflags --libs…
I want to extract strings from a JSON that doesn't have the key descriptor in front of the values but where the values are simply separated by a '|'.
This is an example of the kind of input I…
I want to extract one json key-value pair as a new json object. Sorry I'm pretty new to json, so maybe I'm not stating the question as clear as it could be. So here is an example:
json_t main_object = {"AA":11,"BB":22,"CC":33};
So now I want to…
I am currently debugging a C code. This is basically a client from a data collection platform and I was getting weird bugs reading from a linked list. The problem basically is that the "next" pointer of the last item changes in some unknown point…