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

Posted by Joys of Programming on in C/C++, json-c, Web

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

Tags: , ,

Comments:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.