Compiling a json-c program in Linux
If you have installed json-c in your machine, let’s experiment with a simple JSON program making use of JSON-C functions Let’s name the above file as json_type.c. Let’s compile it As you see, there are errors. To compile the program, we must use the “-l” option with the library name “json“. This helps in dynamic [...]
json-c / libjson Tutorial with Examples
JSON is a data inter-exchange format. When compared to XML, it is very lightweight and more human-readable. The Data representation has some what a similar representation like C/C++ structures. It is nowadays very heavily used data format for data transfer in the web. Most languages like PHP have functions to manipulate JSON data. In case [...]