diff options
| author | yo mama <pepper@scannerjammer.com> | 2015-09-23 23:57:55 -0700 |
|---|---|---|
| committer | yo mama <pepper@scannerjammer.com> | 2015-09-23 23:57:55 -0700 |
| commit | dd7d9847767361e0dfeac23ef88bb366aa99e164 (patch) | |
| tree | 9a3a29c1824885512e37a0adadb48152c3030fd2 /lib/param/json.py | |
| parent | 5c982ed500b51f5b8d911e5a5adec10ac2d31d2e (diff) | |
renamed modules
Diffstat (limited to 'lib/param/json.py')
| -rw-r--r-- | lib/param/json.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/param/json.py b/lib/param/json.py new file mode 100644 index 0000000..8897710 --- /dev/null +++ b/lib/param/json.py @@ -0,0 +1,8 @@ +from param import Param +import simplejson as json + +class ParamJson(Param): + def __init__(self, value, classname=""): + super(ParamJson, self).__init__(classname=classname) + self.value = json.parse(value) + |
