]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
util: json: Improve handling and docs for adding JSON objects
authorPeter Krempa <pkrempa@redhat.com>
Tue, 23 Sep 2014 09:48:08 +0000 (11:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 15 Oct 2014 08:27:50 +0000 (10:27 +0200)
commit81069ae3f53e0c1f09e0842969ba6774912a27c6
treee231246751a941b441898e0e4d75eaa141e9bba7
parent881c46595e787ed232fce708a3480f5823bdce93
util: json: Improve handling and docs for adding JSON objects

The JSON structure constructor has an option to add JSON arrays to the
constructed object. The description is inaccurate as it can add any json
object even a dict. Change the docs to cover this option and reject
adding NULL objects.
src/util/virjson.c