Re: [PATCH 02/23] Allow control over JSON string pretty printing

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

 



On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> While the QEMU monitor/agent do not want JSON strings pretty
> printed, other parts of libvirt might. Instead of hardcoding
> QEMU's desired behaviour in virJSONValueToString(), add a
> boolean flag to control pretty printing
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/qemu/qemu_agent.c        | 10 +++++-----
>  src/qemu/qemu_monitor_json.c | 12 ++++++------
>  src/util/json.c              |  9 +++++----
>  src/util/json.h              |  3 ++-
>  4 files changed, 18 insertions(+), 16 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]