summaryrefslogtreecommitdiff
path: root/lib/param/json.py
diff options
context:
space:
mode:
authorpepperpepperpepper <pepper@scannerjammer.com>2015-10-09 15:52:02 -0700
committerpepperpepperpepper <pepper@scannerjammer.com>2015-10-09 15:52:02 -0700
commit42da3b72a8ee7deac3abe238fbdb1591d8d945b9 (patch)
tree004eff4289ff5e01d8d66fbb29942cb2f94f47a9 /lib/param/json.py
parent0c965a54861e779ca51b235e7a3c2475d8a84dfb (diff)
alright got rid of most relative paths
Diffstat (limited to 'lib/param/json.py')
-rw-r--r--lib/param/json.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/param/json.py b/lib/param/json.py
deleted file mode 100644
index c72cb11..0000000
--- a/lib/param/json.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""Defines the json param type"""
-from .param import Param
-import simplejson as json
-
-class Json(Param):
- """Defines the json param type. Loads in a
- json value and parses it.
-
- Args:
- value: a json string
- classname: name of the class to which the param belongs
- """
- def __init__(self, value, classname=""):
- super(Json, self).__init__(classname=classname)
- if value:
- self.value = json.loads(value)