René's URL Explorer Experiment


Title: Define a JSON type · Issue #182 · python/typing · GitHub

Open Graph Title: Define a JSON type · Issue #182 · python/typing

X Title: Define a JSON type · Issue #182 · python/typing

Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this should go into typing or be introduces as ...

Open Graph Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this sh...

X Description: JSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not...

Opengraph URL: https://github.com/python/typing/issues/182

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Define a JSON type","articleBody":"JSON is such a common interchange format it might make sense to define it as a specific type.\n\n``` python3\nJSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']]\n```\n\nNot sure if this should go into `typing` or be introduces as `json.JSONType` instead (or if it's even worth it considering the variability of the type).\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2016-02-19T00:45:22Z","url":"https://github.com/python/typing/issues/182"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5cba9a74-5a8a-00f7-064e-20ba73240a71
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id88CC:1C3DC0:40969C:56E4A5:6B002B35
html-safe-nonce8da605139621cc6c1d68626c3b3060d3e270d5b4b17cbb892f844af60ead72e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OENDOjFDM0RDMDo0MDk2OUM6NTZFNEE1OjZCMDAyQjM1IiwidmlzaXRvcl9pZCI6IjExMzI2MzM0MjUyMjA0Nzk3OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca8de9d27dced686575cdd3e73c55cab10aefa6f297b45c1d28039eeed344450d
hovercard-subject-tagissue:134740599
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typing/182/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0fb278ad385d3a3f6b46eb6b697117d5a90feae5dfdbace824127821bb845e2c/python/typing/issues/182
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0fb278ad385d3a3f6b46eb6b697117d5a90feae5dfdbace824127821bb845e2c/python/typing/issues/182
og:image:altJSON is such a common interchange format it might make sense to define it as a specific type. JSON = t.Union[str, int, float, bool, None, t.Mapping[str, 'JSON'], t.List['JSON']] Not sure if this sh...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrettcannon
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typing/issues/182#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fissues%2F182
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fissues%2F182
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftyping
Reloadhttps://github.com/python/typing/issues/182
Reloadhttps://github.com/python/typing/issues/182
Reloadhttps://github.com/python/typing/issues/182
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
New issuehttps://github.com/login?return_to=https://github.com/python/typing/issues/182
New issuehttps://github.com/login?return_to=https://github.com/python/typing/issues/182
Define a JSON typehttps://github.com/python/typing/issues/182#top
topic: featureDiscussions about new features for Python's type annotationshttps://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20feature%22
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Feb 19, 2016https://github.com/python/typing/issues/182#issue-134740599
hauntsaninjahttps://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Nov 19, 2022https://github.com/python/typing/issues/182#issuecomment-1320974824
python/mypy#13786 (comment)https://github.com/python/mypy/issues/13786#issuecomment-1320481633
View full comment https://github.com/python/typing/issues/182#issuecomment-1320974824
Nexthttps://github.com/python/typing/issues/182?timeline_page=1
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Feb 19, 2016https://github.com/python/typing/issues/182#issuecomment-185996450
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Feb 19, 2016https://github.com/python/typing/issues/182#issuecomment-186306678
RFC 4627https://tools.ietf.org/html/rfc4627
RFC 7159https://tools.ietf.org/html/rfc7159
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Feb 20, 2016https://github.com/python/typing/issues/182#issuecomment-186472510
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Feb 20, 2016https://github.com/python/typing/issues/182#issuecomment-186684288
https://github.com/python/typeshedhttps://github.com/python/typeshed
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Feb 21, 2016https://github.com/python/typing/issues/182#issuecomment-186706620
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Feb 21, 2016https://github.com/python/typing/issues/182#issuecomment-186706673
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Feb 21, 2016https://github.com/python/typing/issues/182#issuecomment-186710733
PEP 8 says to capitalize abbreviationshttps://www.python.org/dev/peps/pep-0008/#descriptive-naming-styles
http://bugs.python.org/issue26396http://bugs.python.org/issue26396
python/typeshed#84https://github.com/python/typeshed/issues/84
brettcannonhttps://github.com/brettcannon
completedhttps://github.com/python/typing/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 21, 2016https://github.com/python/typing/issues/182#event-557901468
gvanrossumhttps://github.com/gvanrossum
enhancementhttps://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Mar 18, 2016https://github.com/python/typing/issues/182#event-595340650
gvanrossumhttps://github.com/gvanrossum
3.5.2https://github.com/python/typing/milestone/1
on Mar 18, 2016https://github.com/python/typing/issues/182#event-595340764
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 18, 2016https://github.com/python/typing/issues/182#issuecomment-198498387
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Mar 18, 2016https://github.com/python/typing/issues/182#issuecomment-198544297
@gvanrossumhttps://github.com/gvanrossum
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 18, 2016https://github.com/python/typing/issues/182#issuecomment-198547898
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Mar 18, 2016https://github.com/python/typing/issues/182#issuecomment-198579985
@gvanrossumhttps://github.com/gvanrossum
@JukkaLhttps://github.com/JukkaL
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 21, 2016https://github.com/python/typing/issues/182#issuecomment-199380502
https://github.com/ssbarnea
ssbarneahttps://github.com/ssbarnea
on Aug 26, 2022https://github.com/python/typing/issues/182#issuecomment-1228143935
@AdrianCerthttps://github.com/AdrianCert
@gvanrossum joined MSFThttps://github.com/python/mypy/graphs/contributors
https://github.com/python/mypy/blame/dc5f89142cb36debc0e804a472f49f51448d76f3/test-data/unit/check-recursive-types.test#L7https://github.com/python/mypy/blame/dc5f89142cb36debc0e804a472f49f51448d76f3/test-data/unit/check-recursive-types.test#L7
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Aug 26, 2022https://github.com/python/typing/issues/182#issuecomment-1228153090
https://github.com/microsoft/pyright#faqhttps://github.com/microsoft/pyright#faq
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Aug 26, 2022https://github.com/python/typing/issues/182#issuecomment-1228705121
python/mypy#731 (comment)https://github.com/python/mypy/issues/731#issuecomment-1213482527
https://github.com/wbolster
wbolsterhttps://github.com/wbolster
on Sep 27, 2022https://github.com/python/typing/issues/182#issuecomment-1259412066
https://github.com/kevinheavey
kevinheaveyhttps://github.com/kevinheavey
on Oct 28, 2022https://github.com/python/typing/issues/182#issuecomment-1295622559
@wbolsterhttps://github.com/wbolster
https://github.com/kevinheavey/jsonaliashttps://github.com/kevinheavey/jsonalias
https://github.com/pbryan
pbryanhttps://github.com/pbryan
on Oct 29, 2022https://github.com/python/typing/issues/182#issuecomment-1295700473
…https://github.com/python/typing/issues/182
@wbolsterhttps://github.com/wbolster
https://github.com/kevinheavey/jsonaliashttps://github.com/kevinheavey/jsonalias
https://github.com/antonagestam
antonagestamhttps://github.com/antonagestam
on Oct 29, 2022https://github.com/python/typing/issues/182#issuecomment-1295776969
@pbryanhttps://github.com/pbryan
python/mypy#13516https://github.com/python/mypy/pull/13516
https://github.com/joooeey
joooeeyhttps://github.com/joooeey
on Nov 19, 2022https://github.com/python/typing/issues/182#issuecomment-1320959089
@wbolsterhttps://github.com/wbolster
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Nov 19, 2022https://github.com/python/typing/issues/182#issuecomment-1320974824
hauntsaninjahttps://github.com/hauntsaninja
python/mypy#13786 (comment)https://github.com/python/mypy/issues/13786#issuecomment-1320481633
https://github.com/kevinheavey/jsonaliashttps://github.com/kevinheavey/jsonalias
python/typing_extensions#6https://github.com/python/typing_extensions/issues/6
https://github.com/python/typing/discussionshttps://github.com/python/typing/discussions
AnyOf - Union for return types #566https://github.com/python/typing/issues/566
https://github.com/python/typing/issueshttps://github.com/python/typing/issues
python/typing_extensions#6https://github.com/python/typing_extensions/issues/6
https://github.com/python/typing/discussionshttps://github.com/python/typing/discussions
hauntsaninjahttps://github.com/hauntsaninja
completedhttps://github.com/python/typing/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 19, 2022https://github.com/python/typing/issues/182#event-7850291702
iamleothttps://github.com/iamleot
on May 20, 2023https://github.com/python/typing/issues/182#event-9295011943
Enhance all dict type annotationshttps://github.com/iamleot/transferwee/commit/cd5200fb0776b54aca27563e988d97e272a7792a
cd5200fhttps://github.com/iamleot/transferwee/commit/cd5200fb0776b54aca27563e988d97e272a7792a
Enhance all dict type annotationshttps://github.com/iamleot/transferwee/commit/85d02c7f754a94a33e5ba2598cb7fa60a80fbd98
85d02c7https://github.com/iamleot/transferwee/commit/85d02c7f754a94a33e5ba2598cb7fa60a80fbd98
vdusekhttps://github.com/vdusek
on Apr 21, 2026https://github.com/python/typing/issues/182#event-24713129405
refactor: Improve JsonSerializable type to be recursive (#745)https://github.com/apify/apify-client-python/commit/6b8001eda11f1103e55b7681723de335bd30c425
#745https://github.com/apify/apify-client-python/pull/745
6b8001ehttps://github.com/apify/apify-client-python/commit/6b8001eda11f1103e55b7681723de335bd30c425
hauntsaninjahttps://github.com/hauntsaninja
commenthttps://github.com/python/typing/issues/182#issuecomment-1320974824
on May 24, 2026https://github.com/python/typing/issues/182#event-25906822894
volans-https://github.com/volans-
on Jun 6, 2026https://github.com/python/typing/issues/182#event-26429130902
gjson: type public APIs with a JSON type aliashttps://github.com/volans-/gjson-py/commit/b9b2131068421fa08c42e678fe921535ea8e8531
b9b2131https://github.com/volans-/gjson-py/commit/b9b2131068421fa08c42e678fe921535ea8e8531
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typing/issues/182
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typing/issues/182
topic: featureDiscussions about new features for Python's type annotationshttps://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.