Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mhsmith
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
json
on
android-ctypes-pythonapi
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 29, 2025
gh-76007: Deprecate `__version__` attribute (#138675)
Show description for 872eafd
3 people
authored
872eafd
View commit details
Copy full SHA for 872eafd
View code at this point
Browse repository at this point
Commits on Aug 22, 2025
gh-138019: improve help message for `json.tool` (#138037)
yihong0618
authored
531fc3a
View commit details
Copy full SHA for 531fc3a
View code at this point
Browse repository at this point
Commits on Jun 3, 2025
gh-131884: Fix incorrect formatting in json.dumps() when using indent and skipkeys=True (GH-132200)
roeibenartzi
authored
ec12559
View commit details
Copy full SHA for ec12559
View code at this point
Browse repository at this point
Commits on May 5, 2025
gh-133346: Make theming support in _colorize extensible (GH-133347)
Show description for f610bbd
ambv
and
hugovk
authored
f610bbd
View commit details
Copy full SHA for f610bbd
View code at this point
Browse repository at this point
gh-130645: Add color to stdlib argparse CLIs (gh-133380)
hugovk
authored
4ac916a
View commit details
Copy full SHA for 4ac916a
View code at this point
Browse repository at this point
Commits on Apr 19, 2025
gh-131952: Add colour to the ``json`` module CLI (#132126)
Show description for 71da68d
tomasr8
authored
71da68d
View commit details
Copy full SHA for 71da68d
View code at this point
Browse repository at this point
Commits on Apr 8, 2025
gh-132021: Add bool type to the list of allowed JSON key types (#132048)
Show description for 403886c
srinivasreddy
and
ericvsmith
authored
403886c
View commit details
Copy full SHA for 403886c
View code at this point
Browse repository at this point
Commits on Oct 18, 2024
gh-125660: Reject invalid unicode escapes for Python implementation of JSON decoder (GH-125683)
nineteendo
authored
df75136
View commit details
Copy full SHA for df75136
View code at this point
Browse repository at this point
gh-125682: Reject non-ASCII digits in the Python implementation of JSON decoder (GH-125687)
nineteendo
authored
d358425
View commit details
Copy full SHA for d358425
View code at this point
Browse repository at this point
Commits on Oct 9, 2024
gh-91818: Use default program name in the CLI of many modules (GH-124867)
Show description for 7d2c397
serhiy-storchaka
authored
7d2c397
View commit details
Copy full SHA for 7d2c397
View code at this point
Browse repository at this point
Commits on Aug 13, 2024
gh-122873: Allow "python -m json" to work (#122884)
Show description for 906b796
4 people
authored
906b796
View commit details
Copy full SHA for 906b796
View code at this point
Browse repository at this point
Commits on Jul 23, 2024
gh-122163: Add notes for JSON serialization errors (GH-122165)
Show description for e6b25e9
serhiy-storchaka
authored
e6b25e9
View commit details
Copy full SHA for e6b25e9
View code at this point
Browse repository at this point
Commits on May 6, 2024
gh-95382: Improve performance of json encoder with indent (GH-118105)
eendebakpt
authored
05adfbb
View commit details
Copy full SHA for 05adfbb
View code at this point
Browse repository at this point
Commits on Feb 28, 2024
doc: Use super() in subclassed JSONEncoder examples (GH-115565)
Show description for 647053f
phorward
authored
647053f
View commit details
Copy full SHA for 647053f
View code at this point
Browse repository at this point
Commits on Jan 10, 2024
gh-58032: Do not use argparse.FileType in module CLIs and scripts (GH-113649)
Show description for b3d2427
serhiy-storchaka
authored
b3d2427
View commit details
Copy full SHA for b3d2427
View code at this point
Browse repository at this point
Commits on Dec 17, 2023
gh-113149: Improve error message when JSON has trailing comma (GH-113227)
carsonRadtke
authored
cfa25fe
View commit details
Copy full SHA for cfa25fe
View code at this point
Browse repository at this point
Commits on Jun 26, 2023
Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)" (#105948)
Show description for d3af83b
ambv
authored
d3af83b
View commit details
Copy full SHA for d3af83b
View code at this point
Browse repository at this point
Commits on Sep 24, 2022
gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)
serhiy-storchaka
authored
db39050
View commit details
Copy full SHA for db39050
View code at this point
Browse repository at this point
Commits on Aug 23, 2022
GH-96145: Add AttrDict to JSON module for use with object_hook (#96146)
rhettinger
authored
1f0eafa
View commit details
Copy full SHA for 1f0eafa
View code at this point
Browse repository at this point
Commits on Feb 3, 2022
bpo-46565: `del` loop vars that are leaking into module namespaces (GH-30993)
sobolevn
authored
0cbdd21
View commit details
Copy full SHA for 0cbdd21
View code at this point
Browse repository at this point
Commits on Dec 7, 2021
bpo-46001: Change OverflowError to RecursionError in JSON library docstrings (GH-29943)
SnoopJ
authored
8db0652
View commit details
Copy full SHA for 8db0652
View code at this point
Browse repository at this point
Commits on Nov 6, 2021
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)
Show description for 815dad4
CharString
and
ambv
authored
815dad4
View commit details
Copy full SHA for 815dad4
View code at this point
Browse repository at this point
Commits on Mar 10, 2020
bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779)
corona10
authored
700cb58
View commit details
Copy full SHA for 700cb58
View code at this point
Browse repository at this point
Commits on Jan 20, 2020
bpo-39377: json: Remove the encoding option. (GH-18075)
methane
authored
5492bfc
View commit details
Copy full SHA for 5492bfc
View code at this point
Browse repository at this point
Commits on Dec 7, 2019
bpo-29636: json.tool: Add document for indentation options. (GH-17482)
Show description for 15fb7fa
dhimmel
authored and
methane
committed
15fb7fa
View commit details
Copy full SHA for 15fb7fa
View code at this point
Browse repository at this point
Commits on Dec 6, 2019
bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472)
wimglenn
authored and
methane
committed
efefe25
View commit details
Copy full SHA for efefe25
View code at this point
Browse repository at this point
Commits on Dec 4, 2019
bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)
methane
authored
808769f
View commit details
Copy full SHA for 808769f
View code at this point
Browse repository at this point
bpo-29636: Add --(no-)indent arguments to json.tool (GH-345)
dhimmel
authored and
methane
committed
0325794
View commit details
Copy full SHA for 0325794
View code at this point
Browse repository at this point
Commits on May 14, 2019
json.tool: use stdin and stdout in default cmdlne arguments (GH-11992)
Show description for 4d45a3b
4383
authored and
vstinner
committed
4d45a3b
View commit details
Copy full SHA for 4d45a3b
View code at this point
Browse repository at this point
Commits on May 6, 2019
bpo-36793: Remove unneeded __str__ definitions. (GH-13081)
Show description for 96aeaec
serhiy-storchaka
authored
96aeaec
View commit details
Copy full SHA for 96aeaec
View code at this point
Browse repository at this point
Commits on Apr 9, 2019
bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used (GH-6762)
Carreau
authored and
methane
committed
a8abe09
View commit details
Copy full SHA for a8abe09
View code at this point
Browse repository at this point
Commits on Nov 7, 2018
bpo-31553: add --json-lines option to json.tool (#10051)
Show description for f194479
hongweipeng
authored and
serhiy-storchaka
committed
f194479
View commit details
Copy full SHA for f194479
View code at this point
Browse repository at this point
Commits on Jul 6, 2018
bpo-23493: json: Change sort_keys in Python encoder same to C (GH-8131)
Show description for e25399b
methane
authored
e25399b
View commit details
Copy full SHA for e25399b
View code at this point
Browse repository at this point
Commits on May 22, 2018
bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048)
serhiy-storchaka
authored
ae00fb1
View commit details
Copy full SHA for ae00fb1
View code at this point
Browse repository at this point
Commits on Apr 3, 2018
bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001)
methane
authored
629338f
View commit details
Copy full SHA for 629338f
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.