]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
util: json: Add helpers for manipulating json arrays
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Jun 2014 13:48:11 +0000 (15:48 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Jun 2014 06:51:41 +0000 (08:51 +0200)
commit5133b50372c6b3d8ccc2cf458286404403330bd6
treeae09cacf7172c877d3f3eb67e0d0e45f59cc7c21
parent5429a3b6484b3b9ae36aa3432c3e40d542e4ac88
util: json: Add helpers for manipulating json arrays

Add a checker to determine whether a JSON object is an array and a
helper to steal objects from a JSON array.
src/util/virjson.c
src/util/virjson.h