rust/tests/run-make/libtest-json/validate_json.py
2023-03-30 07:34:55 -05:00

9 lines
159 B
Python
Executable File

#!/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:
json.loads(line)