mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
ac5d4e6cb0
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
10 lines
192 B
Python
Executable File
10 lines
192 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
import json
|
|
|
|
dec = json.JSONDecoder()
|
|
data, pos = dec.raw_decode(sys.stdin.read())
|
|
json.dump(data, sys.stdout, indent=2, separators=(',', ': '))
|
|
print("\n")
|