Path 1: 3 calls (1.0)

'[false, true, null, "foo"]' (2) '["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", 20000000000...

4 (3)

True (3)

False (3)

False (3)

True (3)

True (3)

None (3)

False (3)

1def __init__(
2        self,
3        json: str,
4        indent: Union[None, int, str] = 2,
5        highlight: bool = True,
6        skip_keys: bool = False,
7        ensure_ascii: bool = False,
8        check_circular: bool = True,
9        allow_nan: bool = True,
10        default: Optional[Callable[[Any], Any]] = None,
11        sort_keys: bool = False,
12    ) -> None:
13        data = loads(json)
14        json = dumps(
15            data,
16            indent=indent,
17            skipkeys=skip_keys,
18            ensure_ascii=ensure_ascii,
19            check_circular=check_circular,
20            allow_nan=allow_nan,
21            default=default,
22            sort_keys=sort_keys,
23        )
24        highlighter = JSONHighlighter() if highlight else NullHighlighter()
25        self.text = highlighter(json)
26        self.text.no_wrap = True
27        self.text.overflow = None