diff bin/json @ 0:e037173e0012

Initial import.
author HackBot
date Thu, 16 Feb 2012 19:42:32 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/json	Thu Feb 16 19:42:32 2012 +0000
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+import sys
+import json
+data = json.loads(sys.stdin.read().decode('utf-8'))
+print eval(sys.argv[1]).encode('utf-8')