diff options
Diffstat (limited to 'lib/param/json.py')
| -rw-r--r-- | lib/param/json.py | 16 |
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) |
