commit | 8f29100a021be022c4f9e4792d565762de82ecb8 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 01:12:16 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 01:12:16 2013 -0400 |
tree | 4e44d2d0faa2daa6f1957735ee1e5ea2d02f3142 | |
parent | 198027cb818df8f99662f78e0eeb79a9267dcf8e [diff] |
initial checkin
diff --git a/plstackapi/util/json.py b/plstackapi/util/json.py new file mode 100644 index 0000000..6767d96 --- /dev/null +++ b/plstackapi/util/json.py
@@ -0,0 +1,7 @@ +import json + +def parse_request(request): + d = {} + for (k,v) in request.DATA.items(): + d[k] = json.loads(v) +