class_docstr: A FiftyOne operator.
  
  Operators represent an operation and the details of how to execute it.
  
  FiftyOne operators contain enough information for a user interface to
  render a form or button allowing a user to execute the operation.
class_docstr_tok: ["A","FiftyOne","operator",".","Operators","represent","an","operation","and","the","details","of","how","to","execute","it",".","FiftyOne","operators","contain","enough","information","for","a","user","interface","to","render","a","form","or","button","allowing","a","user","to","execute","the","operation","."]
docstr: Returns a JSON representation of the operator.
  
  Args:
      ctx: the :class:`fiftyone.operators.executor.ExecutionContext`
      resolve_dynamic (False): whether to resolve dynamic inputs and
          outputs
  
  Returns:
      a JSON dict
docstr_tok: ["Returns","a","JSON","representation","of","the","operator",".","Args",":","ctx",":","the",":","class",":","`","fiftyone.operators.executor.ExecutionContext","`","resolve_dynamic","(","False",")",":","whether","to","resolve","dynamic","inputs","and","outputs","Returns",":","a","JSON","dict"]
code: def to_json(self, ctx, resolve_dynamic=False):
      """Returns a JSON representation of the operator.
  
      Args:
          ctx: the :class:`fiftyone.operators.executor.ExecutionContext`
          resolve_dynamic (False): whether to resolve dynamic inputs and
              outputs
  
      Returns:
          a JSON dict
      """
      definition = self.resolve_definition(resolve_dynamic, ctx)
      return {
          "config": self.config.to_json(),
          "definition": definition.to_json(),
          "plugin_name": self.plugin_name,
          "_builtin": self._builtin,
          "uri": self.uri,
      }
  
imports: from .types import Object, PromptView
label_desc: Use image node_id 14 for calling the Operator obj's underlying member method code with example usage: obj.to_json(ctx, resolve_dynamic) and returns: dict