annotate bin/json @ 12254:616be78bd12e draft

<oerjan> revert
author HackEso <hackeso@esolangs.org>
date Fri, 06 Dec 2019 07:54:58 +0000
parents e037173e0012
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e037173e0012 Initial import.
HackBot
parents:
diff changeset
1 #!/usr/bin/env python
e037173e0012 Initial import.
HackBot
parents:
diff changeset
2 import sys
e037173e0012 Initial import.
HackBot
parents:
diff changeset
3 import json
e037173e0012 Initial import.
HackBot
parents:
diff changeset
4 data = json.loads(sys.stdin.read().decode('utf-8'))
e037173e0012 Initial import.
HackBot
parents:
diff changeset
5 print eval(sys.argv[1]).encode('utf-8')