]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virjson: Make pretty format more compact
authorJiri Denemark <jdenemar@redhat.com>
Wed, 27 Apr 2016 14:49:25 +0000 (16:49 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 5 May 2016 08:01:55 +0000 (10:01 +0200)
commit7197e5fd3f48dbc944d04d0bd2b3530dc3cdcaaa
tree94195c9baf9b3b3307adb977ea9dc65586b23212
parent666d7805317c47927998e10fd0fac6b0be9787fa
virjson: Make pretty format more compact

json_reformat uses two spaces for when indenting nested objects, let's
do the same. The result of virJSONValueToString will be exactly the same
as json_reformat would produce.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/util/virjson.c
tests/virnetdaemondata/output-data-admin-nomdns.json
tests/virnetdaemondata/output-data-admin-server-names.json
tests/virnetdaemondata/output-data-anon-clients.json
tests/virnetdaemondata/output-data-client-ids.json
tests/virnetdaemondata/output-data-client-timestamp.json
tests/virnetdaemondata/output-data-initial-nomdns.json
tests/virnetdaemondata/output-data-initial.json
tests/virnetdaemondata/output-data-no-keepalive-required.json