class_docstr: Wandb class for arbitrary html.
  
  Arguments:
      data: (string or io object) HTML to display in wandb
      inject: (boolean) Add a stylesheet to the HTML object.  If set
          to False the HTML will pass through unchanged.
class_docstr_tok: ["Wandb","class","for","arbitrary","html",".","Arguments",":","data",":","(","string","or","io","object",")","HTML","to","display","in","wandb","inject",":","(","boolean",")","Add","a","stylesheet","to","the","HTML","object",".","If","set","to","False","the","HTML","will","pass","through","unchanged","."]
code: def to_json(
      self, run_or_artifact: Union["LocalRun", "Artifact"]
  ) -> dict:
      json_dict = super().to_json(run_or_artifact)
      json_dict["_type"] = self._log_type
      return json_dict
  
file_path: wandb/wandb/sdk/data_types/html.py
imports: import os
  from typing import TYPE_CHECKING, Sequence, Type, Union
  from wandb.sdk.lib import filesystem, runid
  from .None import _dtypes
  from ._private import MEDIA_TMP
  from .base_types.media import BatchableMedia
label_desc: Use image node_id 4 for calling the Html obj's underlying member method code with example usage: obj.to_json(run_or_artifact) and returns: json_dict