class_docstr: Airflow rich console.
class_docstr_tok: ["Airflow","rich","console","."]
docstr: Render dict as json text representation.
docstr_tok: ["Render","dict","as","json","text","representation","."]
code: def print_as_json(self, data: dict):
      """Render dict as json text representation."""
      json_content = json.dumps(data)
      self.print(
          Syntax(json_content, "json", theme="ansi_dark"),
          soft_wrap=True,
      )
  
imports: from __future__ import annotations
  import inspect
  import json
  from typing import TYPE_CHECKING, Any, Callable, Sequence
  from rich.box import ASCII_DOUBLE_HEAD
  from rich.console import Console
  from rich.syntax import Syntax
  from rich.table import Table
  from tabulate import tabulate
  from airflow.plugins_manager import PluginsDirectorySource
  from airflow.utils import yaml
  from airflow.utils.platform import is_tty
label_desc: Use image node_id 2 for calling the AirflowConsole obj's underlying member method code with example usage: obj.print_as_json(data) without return types