register_deserialiser#
- class register_deserialiser(*args)#
registration decorator for functions to inflate objects that were serialised using json.
Functions are added to a dict which is used by the deserialise_object() function. The type string(s) must uniquely identify the appropriate value for the dict ‘type’ entry, e.g. ‘cogent3.util.table.Table’.
- Parameters:
- args: str or sequence of str
must be unique
Methods
__call__
(func)Call self as a function.