blob: ecfe04778529b57765a7e6873175d60896f839cb [file] [log] [blame]
#!/usr/bin/python
import csv
import json
import sys
c = csv.reader(sys.stdin)
rows = list([[col.decode('latin1') for col in r] for r in c])
print 'jsonp('
json.dump(rows, sys.stdout, indent=2)
print ');'