summaryrefslogtreecommitdiff
path: root/json-glib/json-generator.h
Commit message (Collapse)AuthorAgeFilesLines
* generator: Clean up and add accessorsEmmanuele Bassi2010-12-141-13/+24
| | | | | | | | Instead of asking everyone to use g_object_set() to set up a JsonGenerator the class should provide a decent API for its properties. While we're at it, we should also use modern API for installing and notifying of property changes.
* generator: Add an OutputStream-based methodEmmanuele Bassi2010-08-021-8/+14
| | | | | | | Currently, only synchronous API. The output handling is pretty trivial, unlike the input handling in JsonParser; this is a really basic convenience API.
* Disallow single header file inclusionEmmanuele Bassi2009-08-121-0/+4
| | | | | | | | | The correct header file for JSON-GLib is, and has always been, json-glib.h. Anything else was not supported, as we've been moving around stuff for a while, now. This commit enforces the single include file, using the same policy enacted by other libraries, like: GLib, GTK+ and Clutter.
* Fix license and copyright noticesEmmanuele Bassi2009-06-091-2/+6
| | | | | | | | THere is no such thing as the "Lesser General Public License version 2": the LGPL v2 is the "Library GPL", and has been superceded by v2.1 with the new "Lesser GPL" name. Also, the copyright is now Intel Corp.
* Add stub class for JsonGeneratorEmmanuele Bassi2007-10-011-0/+82
JsonGenerator is an object that creates JSON data streams from a data model tree. This commit adds the JsonGenerator class to the build and API reference.