Function.to_json (function)


def to_json(self, export_func_as_path=False, **kwargs)

json is not supported for Function distributions as the Function.func object must be stored via dill. See Function.to_dict or Function.to_file.