summaryrefslogtreecommitdiffstats
path: root/tests/run-make/libtest-json/validate_json.py
blob: 657f732f2bffd8804718c2e716c5754c55eb8536 (plain)
1
2
3
4
5
6
7
8
#!/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)