json-glib r18 - in trunk: . json-glib tests
- From: ebassi svn gnome org
- To: svn-commits-list gnome org
- Subject: json-glib r18 - in trunk: . json-glib tests
- Date: Wed, 21 Nov 2007 23:46:53 +0000 (GMT)
Author: ebassi
Date: 2007-11-21 23:46:53 +0000 (Wed, 21 Nov 2007)
New Revision: 18
ViewCVS link: http://svn.gnome.org/viewcvs/json-glib?rev=18&view=rev
Modified:
trunk/ChangeLog
trunk/json-glib/json-generator.c
trunk/tests/test-05.c
Log:
2007-11-21 Emmanuele Bassi <ebassi openedhand com>
* json-glib/json-generator.c:
(json_generator_set_property),
(json_generator_get_property),
(json_generator_class_init),
(json_generator_init): Add the :indent-char property, for
setting the Unicode character used to indent the JSON data
when pretty printing.
(dump_value), (dump_array), (dump_object): Use the indent
character instead of ' '.
* tests/test-05.c (test_nested): Test the :indent-char
property.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]