commit | 291296e618bb72b8705593194f488dcf50cae9f0 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 14:52:08 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 14:52:08 2013 -0400 |
tree | 5d565b76993403253a8499a9a990bec835883138 | |
parent | fb3e3c04966ce80c9548c5d49f59535b8d652b75 [diff] |
initial checkin
diff --git a/plstackapi/util/jsonhelper.py b/plstackapi/util/jsonhelper.py new file mode 100644 index 0000000..ceb6dc9 --- /dev/null +++ b/plstackapi/util/jsonhelper.py
@@ -0,0 +1,7 @@ +import json + +def parse_request(request): + d = {} + for (k,v) in request.items(): + d[k] = json.loads(v) +