]> xenbits.xensource.com Git - libvirt.git/commit
util: json: add helper to iterate and steal members of json array
authorPeter Krempa <pkrempa@redhat.com>
Mon, 17 Oct 2016 11:44:16 +0000 (13:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Nov 2016 15:47:08 +0000 (16:47 +0100)
commitedf33d1a65b04a11871656851dcc626944955bfc
treeb44b4973b0f76aba63475b814a7c27c40434507c
parentc6b6e737e876342c8fe19a46f007492fcc6d07bf
util: json: add helper to iterate and steal members of json array

Simplifies cases where JSON array members need to be transferred to a
different structure.
src/libvirt_private.syms
src/util/virjson.c
src/util/virjson.h