def clean(self, value):
		if value == '' and not self.required:
			return None
		try:
			return json.loads(value)
		except Exception, e:
			raise ValidationError(u'JSON decode error: %s' % e)
dataset/ETHPy150Open ithinksw/philo/philo/forms/fields.py/JSONFormField.clean/original