9 lines
159 B
Python
Executable File
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)
|