diff --git a/param/__init__.py b/param/__init__.py index aca01c823..76f7702af 100644 --- a/param/__init__.py +++ b/param/__init__.py @@ -1014,6 +1014,10 @@ def _validate(self, val): (self.name,len(val),self.length)) + @classmethod + def serialize(cls, value): + return list(value) # As JSON has no tuple representation + @classmethod def deserialize(cls, value): return tuple(value) # As JSON has no tuple representation