def to_internal_value(self, data):
        """Deserialize the field's JSON data, for write operations."""
        try:
            val = json.loads(data)
        except __HOLE__:
            val = data
        return val
dataset/ETHPy150Open deis/deis/controller/api/serializers.py/JSONFieldSerializer.to_internal_value