[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qjson: Drop trailing space for pretty formattin
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] qjson: Drop trailing space for pretty formatting |
Date: |
Fri, 21 Nov 2014 09:07:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/21/2014 02:29 AM, Max Reitz wrote:
> For the pretty formatting, the functions converting QDicts and QLists to
> JSON should not print a space after the comma separating objects,
> because a newline will emitted immediately afterwards, making the
> whitespace superfluous.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> qobject/qjson.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature