commit | 4b58554a0e60aba6f1c6f391759f148f7bca181b | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Fri Nov 21 10:29:59 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Dec 10 10:25:30 2014 +0100 |
tree | de86c4ccf5d777d2856baa1a92363fa082d2723d | |
parent | f71eaa74c0bf2cf9da9a00b571d4b8162c61e29d [diff] |
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 <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>