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

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



On 08/09/2012 09:20 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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 redhat com>
> ---
>  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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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