PYTHON 3.13.0 / HTML + JSON
Python JSON field notes
Read a fact, inspect its value, follow it to the source. Download the same document for your own tools.
3 notes
01 / 4 mapped facts
Write JSON without losing intent
Choose a string or file output, then decide how to handle Unicode and non-finite numbers. These notes describe Python 3.13.0, not every JSON implementation.
JSON02 / 4 mapped facts
Read JSON and check the boundary
Parsing is not schema validation. Keep the input size bounded and check the resulting application values yourself.
JSON03 / 4 mapped facts
Format a document for inspection
Readable output helps a reviewer inspect a document. Compact output changes whitespace, not the purpose of the data.
JSON
Source 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