COMMAND EVERYTHING.
Validate and pretty-print a JSON document.
Python · Risk: Moderate · Review Requiredpython -m json.tool input.jsonCopied 0 timesPython 3. Replace input.json with the local file path.
Reads the file and writes formatted content to stdout. Do not publish secrets contained in JSON.
python -m json.tool input.jsonValidate and pretty-print a JSON document. Reads the file and writes formatted content to stdout. Do not publish secrets contained in JSON.
https://docs.python.org/3/library/json.html#module-json.tool
Sign in to keep your own command reference lists.
Explain or customize this command with AI