python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Memory leak with json-c in multi-threaded C++ program
I have a memory leak in my program and cannot understand why.
My program is multi-threaded and uses json-c and glib.
Thread 1 calls the following method every time it receives data over a UDP stream.
...
olivier
Votes: 0
Answers: 0
There is no json.h in \usr\include\json-c directory ' ../nvme.h:26:10: fatal error: json.h: No such file or directory'
There is no "json.h" in "\usr\include\json-c" directory. Is there an application that I have to install? I have installed "sudo apt-get install libjsoncpp-dev," but it is...

Hossein
Votes: 0
Answers: 1
Constructing json object in C with json-c
I am new to json-c.
I am able to create JSON object in the format:
{"loglevel":"INFO", "msg":"Info about car", "timestamp":"actual system time&qu...
Manukumar Puttaswamy
Votes: 0
Answers: 1
How to write the json-c object into a file using C?
I have created the jobj by using json-c library successfully with the json_object_to_json_string(jobj) where jobj hold the data which is in json format.
I am able to print jobj on the console by using...
Manukumar Puttaswamy
Votes: 0
Answers: 1