Sign in
android
/
toolchain
/
rustc
/
5bd94c128c5702589f742e958fb8ae82646357c9
/
.
/
src
/
test
/
run-make-fulldeps
/
coverage-reports-base
/
prettify_json.py
blob: ed9279841f70e5929208cd14a21616cc6969876a [
file
] [
log
] [
blame
]
#!/usr/bin/env python
import
sys
import
json
# Try to decode line in order to ensure it is a valid JSON document
for
line
in
sys
.
stdin
:
parsed
=
json
.
loads
(
line
)
print
(
json
.
dumps
(
parsed
,
indent
=
2
,
separators
=(
','
,
': '
),
sort_keys
=
True
))