Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
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
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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 }}
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
34.5k
Star
72.5k
Code
Issues
5k+
Pull requests
2.1k
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
on
3.6
User selector
All users
All time
Commit History
Commits on Jan 3, 2013
#16009: JSON error messages now provide more information. Patch by Serhiy Storchaka.
ezio-melotti
committed
37623ab
Copy full SHA for 37623ab
Commits on Nov 29, 2012
#16476: merge with 3.2.
ezio-melotti
committed
4cee810
Copy full SHA for 4cee810
#16476: Fix json.tool to avoid including trailing whitespace.
ezio-melotti
committed
b32512e
Copy full SHA for b32512e
#16549: merge with 3.3.
ezio-melotti
committed
401cf29
Copy full SHA for 401cf29
#16549: merge with 3.2.
ezio-melotti
committed
1e86d01
Copy full SHA for 1e86d01
#16549: Make json.tool work again on Python 3 and add tests. Initial patch by Berker Peksag and Serhiy Storchaka.
ezio-melotti
committed
057bcb4
Copy full SHA for 057bcb4
Commits on Nov 28, 2012
Cleanup json decoder: float() has builtin support of nan, +inf, -inf since Python 2.6
vstinner
committed
d7fed37
Copy full SHA for d7fed37
#16333: fix example in docstring.
ezio-melotti
committed
9f94b6d
Copy full SHA for 9f94b6d
#16333: use (",", ": ") as default separator when indent is specified to avoid trailing whitespace. Patch by Serhiy Storchaka.
ezio-melotti
committed
1003144
Copy full SHA for 1003144
#16333: merge with 3.2.
ezio-melotti
committed
57af3bf
Copy full SHA for 57af3bf
#16333: document a way to get rid of trailing whitespace when indent is used.
ezio-melotti
committed
d654ded
Copy full SHA for d654ded
Commits on Oct 28, 2012
Merge issue #14570: Document json sort_keys parameter properly.
Show description for 42b8932
asvetlov
committed
42b8932
Copy full SHA for 42b8932
Merge issue #14570: Document json sort_keys parameter properly.
Show description for 6d50a54
asvetlov
committed
6d50a54
Copy full SHA for 6d50a54
Issue #14570: Document json sort_keys parameter properly.
Show description for 2ec53be
asvetlov
committed
2ec53be
Copy full SHA for 2ec53be
Commits on Oct 1, 2012
more yield from
Show description for fd0d3e5
pjenvey
committed
fd0d3e5
Copy full SHA for fd0d3e5
Commits on Jun 28, 2012
Issue #5067: improve some json error messages.
Show description for 802d669
pitrou
committed
802d669
Copy full SHA for 802d669
Issue #5067: improve some json error messages.
Show description for 2d24e94
pitrou
committed
2d24e94
Copy full SHA for 2d24e94
Commits on May 21, 2012
#14875: merge with 3.2.
ezio-melotti
committed
4226543
Copy full SHA for 4226543
#14875: Use float('inf') instead of float('1e66666') in the json module.
ezio-melotti
committed
898d51d
Copy full SHA for 898d51d
Commits on Feb 20, 2012
Merge 3.2: Issue #13703 plus some related test suite fixes.
birkenfeld
committed
2fb477c
Copy full SHA for 2fb477c
Merge from 3.1: Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Show description for 09a7c72
birkenfeld
committed
09a7c72
Copy full SHA for 09a7c72
Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Show description for 2daf6ae
birkenfeld
committed
2daf6ae
Copy full SHA for 2daf6ae
Commits on Sep 28, 2011
Implement PEP 393.
loewis
committed
d63a3b8
Copy full SHA for d63a3b8
Commits on May 14, 2011
#5723: merge with 3.1.
Ezio Melotti
committed
6b60fb9
Copy full SHA for 6b60fb9
#5723: Improve json tests to be executed with and without accelerations.
ezio-melotti
committed
3c0d8a1
Copy full SHA for 3c0d8a1
Commits on May 10, 2011
#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
ezio-melotti
committed
1367265
Copy full SHA for 1367265
Commits on May 7, 2011
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
ezio-melotti
committed
362b951
Copy full SHA for 362b951
Commits on Apr 24, 2011
Merge 3.1
merwok
committed
fbeb1a9
Copy full SHA for fbeb1a9
Commits on Apr 21, 2011
Add a space to make json doc a bit more readable
merwok
committed
de579d4
Copy full SHA for de579d4
Commits on Apr 13, 2011
Merge with 3.1.
ezio-melotti
committed
04c6423
Copy full SHA for 04c6423
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.
Ezio Melotti
committed
d210aa1
Copy full SHA for d210aa1
Remove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti
committed
42368f9
Copy full SHA for 42368f9
#9233: Fix json to work properly even when _json is not available.
Ezio Melotti
committed
c753305
Copy full SHA for c753305
#9233: skip _json-specific tests when _json is not available.
Ezio Melotti
committed
4f95a52
Copy full SHA for 4f95a52
Merge #10019: Fix regression relative to 2.6: add newlines if indent=0
Show description for d531548
bitdancer
committed
d531548
Copy full SHA for d531548
Previous
Next
You can’t perform that action at this time.