A JSON reader and writer library using GLib and GObject
LGPL-2.1 License
JSON-GLib implements a full suite of JSON-related tools using GLib and GObject.
Use JSON-GLib it is possible to parse and generate valid JSON data structures using a DOM-like API. JSON-GLib also integrates with GObject to provide the ability to serialize and deserialize GObject instances to and from JSON data types.
JSON is the JavaScript Object Notation; it can be used to represent objects and object hierarchies while retaining human-readability.
GLib is a C library providing common and efficient data types for the C developers.
GObject is a library providing a run-time Object Oriented type system for C developers. GLib and GObject are extensively used by the GTK+ toolkit and by the GNOME project.
For more information, see:
In order to build JSON-GLib you will need:
Optionally, JSON-GLib depends on:
To build JSON-GLib just run:
$ mkdir _build && meson _build .
$ ninja -C _build
$ ninja -C _build test
# ninja -C _build install
JSON-GLib tracks bugs in the GNOME Bugzilla.
If you find a bug in JSON-GLib, please file an issue using the appropriate form. You can also check the list of open bugs.
Required information:
JSON-GLib is developed mainly inside a GIT repository available at:
https://git.gnome.org/browse/json-glib
You can clone the GIT repository with:
git clone git://git.gnome.org/json-glib
If you want to contribute functionality or bug fixes to JSON-GLib you can either notify me to pull from your Git repository, or you can attach patches for review to a bug on the bug tracking system using
git format-patch master -k -s
to generate the patches from each commit. Using git-bz to automate this process is strongly encouraged.
Please, try to conform to the coding style used by JSON-GLib, which is the same used by projects like GLib, GTK+, and Clutter. Coding style conformance is a requirement for upstream acceptance.
Make sure you always run the test suite when you are fixing bugs. New features should come with a test unit. Patches that regress the test suite will be rejected.
JSON-GLib has been written by Emmanuele Bassi
JSON-GLib is released under the terms of the GNU Lesser General Public License, either version 2.1 or (at your option) any later version.
See the file COPYING for details.
Copyright 2007, 2008 OpenedHand Ltd Copyright 2009, 2010, 2011, 2012 Intel Corp. Copyright 2013 Emmanuele Bassi