Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tool.py
File
tool.py
Lib/json/tool.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Command-line tool to validate and pretty-print JSON
2
3
See `json.__main__`
for
a usage example (invocation
as
4
`python -m json.tool` is supported
for
backwards compatibility).
Callers
nothing calls this directly
Calls
3
frozendict
Class · 0.85
main
Function · 0.70
compile
Method · 0.45
Tested by
no test coverage detected