def to_json(self):
        """Returns a JSON representation of the operator.

        Returns:
            a JSON dict
        """
        return {
            "config": self.config.to_json(),
            "plugin_name": self.plugin_name,
            "_builtin": self._builtin,
            "uri": self.uri,
        }
Returns a JSON representation of the operator.

        Returns:
            a JSON dict
        
fiftyone/operators/operator.py