Sign in
fuchsia
/
third_party
/
rust
/
57e8fc56852e7728d7160242bf13c3ab6e066bd8
/
.
/
src
/
test
/
run-make-fulldeps
/
instrument-coverage-cov-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
))