Re: [libvirt] [PATCH 01/14] Introduce a simple API for handling JSON data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/11/26 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> This introduces simple API for handling JSON data. There is
> an internal data structure 'virJSONValuePtr' which stores a
> arbitrary nested JSON value (number, string, array, object,
> nul, etc).  There are APIs for constructing/querying objects
> and APIs for parsing/formatting string formatted JSON data.
>
> This uses the YAJL library for parsing/formatting from
>
>  http://lloyd.github.com/yajl/
>
> * src/util/json.h, src/util/json.c: Data structures and APIs
>  for representing JSON data, and parsing/formatting it
> * configure.in: Add check for yajl library
> * libvirt.spec.in: Add build requires for yajl
> * src/Makefile.am: Add json.c/h
> * src/libvirt_private.syms: Export JSON symbols to drivers
>

Tests for the JSON parsing/formating callbacks would be a nice bonus.

ACK.

Matthias

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]