Python JSON field notes
Format a JSON file
Saved run with Python 3.11.15
python -m json.tool --no-ensure-ascii input.json formatted.json{
"name": "한글",
"count": 2,
"enabled": true
}
Compare the input and output filesSource and reuse
- Original
- Python 3.13.0: json encoder and decoder
- Version / observed
- CPython v3.13.0 / 2026-11-24T04:53:54.630820+00:00
- Use conditions
- PSF License Version 2
Copyright (c) 2001-2024 Python Software Foundation; All Rights Reserved
Full license text - SHA256
- 6533f6d5be67f903194ba4b92335d079552edb69c4c8fd45d6215de60358dd8e
The hash identifies the archived source bytes retrieved from the version tag, not a publisher-issued signature. These are condensed notes with newly written examples, not a verbatim replacement for the manual.
Archived source text