]> Git Repo - qemu.git/commit
qjson: Drop trailing space for pretty formatting
authorMax Reitz <[email protected]>
Fri, 21 Nov 2014 09:29:59 +0000 (10:29 +0100)
committerKevin Wolf <[email protected]>
Wed, 10 Dec 2014 09:25:30 +0000 (10:25 +0100)
commit4b58554a0e60aba6f1c6f391759f148f7bca181b
treede86c4ccf5d777d2856baa1a92363fa082d2723d
parentf71eaa74c0bf2cf9da9a00b571d4b8162c61e29d
qjson: Drop trailing space for pretty formatting

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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
qobject/qjson.c
This page took 0.033747 seconds and 4 git commands to generate.