[libvirt] [PATCH 05/12] util: json: add helper to iterate JSON object key=value pairs
Eric Blake
eblake at redhat.com
Thu Jan 29 20:37:10 UTC 2015
On 01/28/2015 03:30 AM, Peter Krempa wrote:
> This helper easies iterating all key=value pairs stored in a JSON
s/easies/eases/
> object. Usually we pick only certain known keys from a JSON object, but
> this will allow to walk complete objects and have the callback act on
> those.
> ---
> src/libvirt_private.syms | 1 +
> src/util/virjson.c | 33 +++++++++++++++++++++++++++++++++
> src/util/virjson.h | 8 ++++++++
> 3 files changed, 42 insertions(+)
>
Sounds useful. ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150129/56a12bfa/attachment-0001.sig>
More information about the libvir-list
mailing list