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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
json
__init__.py
on
main
User selector
All users
All time
Commit history
Commits on May 29, 2026
gh-149056: Properly pass array_hook in json.load() to json.loads() (GH-149057)
KowalskiThomas
authored
f87d960
View commit details
Copy full SHA for f87d960
View code at this point
Browse repository at this point
Commits on May 25, 2026
gh-150285: Fix too long docstrings in some Python modules (GH-150366)
serhiy-storchaka
authored
01c6d3d
View commit details
Copy full SHA for 01c6d3d
View code at this point
Browse repository at this point
Commits on May 11, 2026
gh-146061: Clarify indent=None in json docs (GH-146095)
jonathandung
authored
833dae7
View commit details
Copy full SHA for 833dae7
View code at this point
Browse repository at this point
Commits on Mar 27, 2026
gh-146440: Add array_hook parameter to JSON decoders (#146441)
Show description for d0061d5
3 people
authored
d0061d5
View commit details
Copy full SHA for d0061d5
View code at this point
Browse repository at this point
Commits on Nov 8, 2025
gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906)
Show description for 7e90bac
serhiy-storchaka
authored
7e90bac
View commit details
Copy full SHA for 7e90bac
View code at this point
Browse repository at this point
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 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 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 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 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 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 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
Commits on Nov 25, 2017
bpo-24641: Improved error message for JSON unserializible keys. (#4364)
Show description for cfa797c
serhiy-storchaka
authored
cfa797c
View commit details
Copy full SHA for cfa797c
View code at this point
Browse repository at this point
Commits on Jun 20, 2017
Fix trivial typo in json module docstring (GH-2274)
jiangying000
authored and
Mariatta
committed
76c567e
View commit details
Copy full SHA for 76c567e
View code at this point
Browse repository at this point
Commits on Nov 12, 2016
Fixed the documentation of parse_constant argument in json.load().
Show description for 58d3e54
serhiy-storchaka
committed
58d3e54
View commit details
Copy full SHA for 58d3e54
View code at this point
Browse repository at this point
Fixed the documentation of parse_constant argument in json.load().
Show description for 022371f
serhiy-storchaka
committed
022371f
View commit details
Copy full SHA for 022371f
View code at this point
Browse repository at this point
Commits on Oct 30, 2016
Issue #28541: Improve test coverage for encoding detection in json library.
Show description for c4a35da
serhiy-storchaka
committed
c4a35da
View commit details
Copy full SHA for c4a35da
View code at this point
Browse repository at this point
Commits on Sep 10, 2016
Issue #17909: Accept binary input in json.loads
Show description for b161562
ncoghlan
committed
b161562
View commit details
Copy full SHA for b161562
View code at this point
Browse repository at this point
Commits on Jun 30, 2016
Issue #4945: Improved the documenting of boolean arguments in the json module.
Show description for ee047e5
serhiy-storchaka
committed
ee047e5
View commit details
Copy full SHA for ee047e5
View code at this point
Browse repository at this point
Issue #4945: Improved the documenting of boolean arguments in the json module.
Show description for 15287f8
serhiy-storchaka
committed
15287f8
View commit details
Copy full SHA for 15287f8
View code at this point
Browse repository at this point
Commits on Jun 21, 2016
Issue #18726: All optional parameters of the dump(), dumps(),
Show description for aacd53f
serhiy-storchaka
committed
aacd53f
View commit details
Copy full SHA for aacd53f
View code at this point
Browse repository at this point
Commits on Jul 5, 2015
Issue #24540: merger from 3.4
ned-deily
committed
53ecc58
View commit details
Copy full SHA for 53ecc58
View code at this point
Browse repository at this point
Issue #24540: fix typo in json.dumps docstring
ned-deily
committed
54630d9
View commit details
Copy full SHA for 54630d9
View code at this point
Browse repository at this point
Commits on Jan 26, 2015
Issue #19361: JSON decoder now raises JSONDecodeError instead of ValueError.
serhiy-storchaka
committed
47efb4a
View commit details
Copy full SHA for 47efb4a
View code at this point
Browse repository at this point
Commits on Dec 8, 2013
Remove mentions of Python 2.x and being externally maintained from
Show description for f491f92
gpshead
committed
f491f92
View commit details
Copy full SHA for f491f92
View code at this point
Browse repository at this point
Remove mentions of Python 2.x and being externally maintained from
Show description for a82f74d
gpshead
committed
a82f74d
View commit details
Copy full SHA for a82f74d
View code at this point
Browse repository at this point
Commits on Oct 20, 2013
#18958: Improve error message for json.load(s) while passing a string that starts with a UTF-8 BOM.
ezio-melotti
committed
566a2be
View commit details
Copy full SHA for 566a2be
View code at this point
Browse repository at this point
#19307: Improve error message for json.load(s) while passing objects of the wrong type.
ezio-melotti
committed
a0e768c
View commit details
Copy full SHA for a0e768c
View code at this point
Browse repository at this point
Commits on Feb 21, 2013
Issue #17225: JSON decoder now counts columns in the first line starting
Show description for 920007a
serhiy-storchaka
committed
920007a
View commit details
Copy full SHA for 920007a
View code at this point
Browse repository at this point
Issue #17225: JSON decoder now counts columns in the first line starting
Show description for c510a04
serhiy-storchaka
committed
c510a04
View commit details
Copy full SHA for c510a04
View code at this point
Browse repository at this point
Commits on Nov 28, 2012
#16333: fix example in docstring.
ezio-melotti
committed
9f94b6d
View commit details
Copy full SHA for 9f94b6d
View code at this point
Browse repository at this point
#16333: use (",", ": ") as default separator when indent is specified to avoid trailing whitespace. Patch by Serhiy Storchaka.
ezio-melotti
committed
1003144
View commit details
Copy full SHA for 1003144
View code at this point
Browse repository at this point
Commits on Oct 28, 2012
Issue #14570: Document json sort_keys parameter properly.
Show description for 2ec53be
asvetlov
committed
2ec53be
View commit details
Copy full SHA for 2ec53be
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.