class_docstr: A renderable which pretty prints JSON.
  
  Args:
      json (str): JSON encoded data.
      indent (Union[None, int, str], optional): Number of characters to indent by. Defaults to 2.
      highlight (bool, optional): Enable highlighting. Defaults to True.
      skip_keys (bool, optional): Skip keys not of a basic type. Defaults to False.
      ensure_ascii (bool, optional): Escape all non-ascii characters. Defaults to False.
      check_circular (bool, optional): Check for circular references. Defaults to True.
      allow_nan (bool, optional): Allow NaN and Infinity values. Defaults to True.
      default (Callable, optional): A callable that converts values that can not be encoded
          in to something that can be JSON encoded. Defaults to None.
      sort_keys (bool, optional): Sort dictionary keys. Defaults to False.
code: def __rich__(self) -> Text:
      return self.text
  
file_path: rich/rich/json.py
imports: from pathlib import Path
  from json import loads, dumps
  from typing import Any, Callable, Optional, Union
  from .text import Text
  from .highlighter import JSONHighlighter, NullHighlighter
label_desc: Use image node_id 3 for calling the JSON obj's underlying member method code with example usage: obj.__rich__() and returns: self