How to install json-glib in Linux (Ubuntu)?

json-glib is a C library for manipulating JSON data in C/C++– for serializing and deserializing JSON data. It can be downloaded from here. But if you are working in Ubuntu or other debian based systems you can execute the following commands

$ sudo apt-get install libjson-glib-1.0-0 libjson-glib-1.0-0-dev

If you want to debug your programs and see the various steps of serializing/deserializing you can also install the libjson-glib – debug symbols package

$ sudo apt-get install libjson-glib-1.0-0-dbg

For documentation related to json-glib, you must install the following package

$ sudo apt-get install libjson-glib-1.0-0-doc

This documentation will then be available in file:///usr/share/gtk-doc/html/json-glib/index.html


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s