rust/tests/run-make/libtest-json/validate_json.py

9 lines
159 B
Python
Raw Normal View History

#!/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)